This class encapsulates rendering of document to image. More...

Inherits Aspose::Page::Device, and Aspose::Page::IMultiPageDevice.

Public Member Functions

ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Drawing::Imaging::ImageFormatget_Format () const
 Image format. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_SaveOptions (System::SharedPtr< Aspose::Page::SaveOptions > value)
 Options for managing rendering process. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::SharedPtr< System::Object > > > get_Properties ()
 Device properties including metadata. More...
 
ASPOSE_PAGE_SHARED_API void set_Properties (System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::SharedPtr< System::Object >>> value)
 Device properties including metadata. More...
 
ASPOSE_PAGE_SHARED_API System::String get_Creator ()
 Returns or specifies creator of resulting device output. More...
 
ASPOSE_PAGE_SHARED_API void set_Creator (System::String value)
 Returns or specifies creator of resulting device output. More...
 
virtual ASPOSE_PAGE_SHARED_API System::Drawing::Size get_Size ()
 Returns or specifies a size of the page. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_Size (System::Drawing::Size value)
 Returns or specifies a size of the page. More...
 
virtual ASPOSE_PAGE_SHARED_API System::Drawing::Color get_Background ()
 Indicates whether device uses direct RGB mode, that is RGB. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_Background (System::Drawing::Color value)
 Indicates whether device uses direct RGB mode, that is RGB. More...
 
virtual ASPOSE_PAGE_SHARED_API float get_Opacity ()
 Returns or specifies current background of the page. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_Opacity (float value)
 Returns or specifies current background of the page. More...
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Drawing::Penget_Stroke ()
 Returns or specifies current stroke. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_Stroke (System::SharedPtr< System::Drawing::Pen > value)
 Returns or specifies current stroke. More...
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Drawing::Brushget_Paint ()
 Returns or specifies current paint. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_Paint (System::SharedPtr< System::Drawing::Brush > value)
 Returns or specifies current paint. More...
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< ITrFontget_Font ()
 Returns or specifies current font. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_Font (System::SharedPtr< ITrFont > value)
 Returns or specifies current font. More...
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Drawing::Drawing2D::Matrixget_CharTM ()
 Returns or specifies current characters transform. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_CharTM (System::SharedPtr< System::Drawing::Drawing2D::Matrix > value)
 Returns or specifies current characters transform. More...
 
virtual ASPOSE_PAGE_SHARED_API Aspose::Page::TextRenderingMode get_TextRenderingMode ()
 Returns or specifies current text rendering mode. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_TextRenderingMode (Aspose::Page::TextRenderingMode value)
 Returns or specifies current text rendering mode. More...
 
virtual ASPOSE_PAGE_SHARED_API float get_TextStrokeWidth ()
 Returns or specifies current text stroke width. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_TextStrokeWidth (float value)
 Returns or specifies current text stroke width. More...
 
virtual ASPOSE_PAGE_SHARED_API bool get_IsDirectRGB ()
 Indicates whether device uses direct RGB mode, that is RGB. More...
 
virtual ASPOSE_PAGE_SHARED_API int32_t get_CurrentPageNumber ()
 Current page number. More...
 
ASPOSE_PAGE_SHARED_API System::ArrayPtr< System::ArrayPtr< uint8_t > > get_ImagesBytes ()
 Returns resulting images in bytes, one byte array for one page. More...
 
ASPOSE_PAGE_SHARED_API ImageDevice ()
 Initializes new instance of ImageDevice. More...
 
ASPOSE_PAGE_SHARED_API ImageDevice (System::Drawing::Size size)
 Initializes new instance of ImageDevice with specified size of a page. More...
 
ASPOSE_PAGE_SHARED_API ImageDevice (System::SharedPtr< System::Drawing::Imaging::ImageFormat > imageFormat)
 Initializes new instance of ImageDevice with specified image format. More...
 
ASPOSE_PAGE_SHARED_API ImageDevice (System::Drawing::Size size, System::SharedPtr< System::Drawing::Imaging::ImageFormat > imageFormat)
 Initializes new instance of ImageDevice with specified size of a page and image format. More...
 
virtual ASPOSE_PAGE_SHARED_API void ReNew ()
 Reset device to initial state for whole document. More...
 
ASPOSE_PAGE_SHARED_API System::String GetProperty (System::String key)
 Gets a value of string property. More...
 
ASPOSE_PAGE_SHARED_API System::Drawing::Color GetPropertyColor (System::String key)
 Gets a value of color property. More...
 
ASPOSE_PAGE_SHARED_API System::Drawing::RectangleF GetPropertyRectangle (System::String key)
 Gets a value of rectangle property. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< MarginsGetPropertyMargins (System::String key)
 Gets a value of margins property. More...
 
ASPOSE_PAGE_SHARED_API System::Drawing::Size GetPropertySize (System::String key)
 Gets a value of size property. More...
 
ASPOSE_PAGE_SHARED_API int32_t GetPropertyInt (System::String key)
 Gets a value of integer property. More...
 
ASPOSE_PAGE_SHARED_API double GetPropertyDouble (System::String key)
 Gets a value of double property. More...
 
ASPOSE_PAGE_SHARED_API bool IsProperty (System::String key)
 Gets a value of boolean property. More...
 
virtual ASPOSE_PAGE_SHARED_API void StartDocument ()
 Makes necessary preparation of device before start rendering of document. More...
 
virtual ASPOSE_PAGE_SHARED_API void EndDocument ()
 Makes necessary preparation of device after the document has been rendered. More...
 
virtual ASPOSE_PAGE_SHARED_API void Dispose ()
 Disposes the device. More...
 
virtual ASPOSE_PAGE_SHARED_API void Reset ()
 Reset the device to initial state for a page. More...
 
virtual ASPOSE_PAGE_SHARED_API void InitPageNumbers ()
 Initializes numbers of pages to output. More...
 
virtual ASPOSE_PAGE_SHARED_API bool OpenPage (System::String title)
 Makes necessary preparation of the device before page rendering. More...
 
virtual ASPOSE_PAGE_SHARED_API bool OpenPage (float width, float height)
 Makes necessary preparation of the device before each page rendering. More...
 
virtual ASPOSE_PAGE_SHARED_API void ClosePage ()
 Makes necessary preparation of the device after page has been rendered. More...
 
virtual ASPOSE_PAGE_SHARED_API void UpdatePageParameters (System::SharedPtr< IMultiPageDevice > device)
 Updates page parameters from other multi-paged device. More...
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< Aspose::Page::DeviceCreate ()
 Creates a copy of this device. More...
 
virtual ASPOSE_PAGE_SHARED_API void InitClip ()
 Initializes a clip of the device. More...
 
virtual ASPOSE_PAGE_SHARED_API void Draw (System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath > s)
 Draws a path. More...
 
virtual ASPOSE_PAGE_SHARED_API void Fill (System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath > s)
 Fills a path. More...
 
virtual ASPOSE_PAGE_SHARED_API void DrawImage (System::SharedPtr< System::Drawing::Bitmap > image, System::SharedPtr< System::Drawing::Drawing2D::Matrix > transform, System::Drawing::Color bkg)
 Draws an image with assigned transform and background. More...
 
virtual ASPOSE_PAGE_SHARED_API void DrawString (System::String str, double x, double y)
 Draws a string at given point. More...
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Drawing::Drawing2D::MatrixGetTransform ()
 Gets the current transform. More...
 
virtual ASPOSE_PAGE_SHARED_API void SetTransform (System::SharedPtr< System::Drawing::Drawing2D::Matrix > transform)
 Specifies current transform. More...
 
virtual ASPOSE_PAGE_SHARED_API void Transform (System::SharedPtr< System::Drawing::Drawing2D::Matrix > transform)
 Transforms the current transformation matrix. Calls writeTransform(Transform). More...
 
virtual ASPOSE_PAGE_SHARED_API void Translate (double x, double y)
 Translates the current transformation matrix. Calls writeTransform(Transform). More...
 
virtual ASPOSE_PAGE_SHARED_API void Rotate (double theta)
 Rotate the current transformation matrix over the Z-axis. Calls writeTransform(Transform). Rotating with a positive angle theta rotates points on the positive x axis toward the positive y axis. More...
 
virtual ASPOSE_PAGE_SHARED_API void Scale (double sx, double sy)
 Scales the current transformation matrix. Calls writeTransform(Transform). More...
 
virtual ASPOSE_PAGE_SHARED_API void Shear (double shx, double shy)
 Shears the current transformation matrix. Calls writeTransform(Transform). More...
 
virtual ASPOSE_PAGE_SHARED_API void SetClip (System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath > path)
 Clips shape. More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteComment (System::String comment)
 Writes a comment. More...
 
virtual ASPOSE_PAGE_SHARED_API System::String ToString ()
 Returns the name of device type. More...
 
- Public Member Functions inherited from Aspose::Page::Device
ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::SharedPtr< System::Object > > > get_Properties () const
 Device properties including metadata. More...
 
ASPOSE_PAGE_SHARED_API void set_Properties (System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::SharedPtr< System::Object >>> value)
 Device properties including metadata. More...
 
ASPOSE_PAGE_SHARED_API System::String get_Creator () const
 Returns or specifies creator of resulting device output. More...
 
ASPOSE_PAGE_SHARED_API void set_Creator (System::String value)
 Returns or specifies creator of resulting device output. More...
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Drawing::Brushget_OpacityMask ()
 Returns or specifies current opacity mask. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_OpacityMask (System::SharedPtr< System::Drawing::Brush > value)
 Returns or specifies current opacity mask. More...
 
ASPOSE_PAGE_SHARED_API bool get_IsLicensed ()
 Indicates whether this instance of Aspose.Page library is licensed. More...
 
ASPOSE_PAGE_SHARED_API Device (System::Drawing::Size pageSize)
 Initializes Device with a size of a page. More...
 
ASPOSE_PAGE_SHARED_API System::String GetProperty (System::String key)
 Gets a value of string property. More...
 
ASPOSE_PAGE_SHARED_API System::Drawing::Color GetPropertyColor (System::String key)
 Gets a value of color property. More...
 
ASPOSE_PAGE_SHARED_API System::Drawing::RectangleF GetPropertyRectangle (System::String key)
 Gets a value of rectangle property. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< MarginsGetPropertyMargins (System::String key)
 Gets a value of margin property. More...
 
ASPOSE_PAGE_SHARED_API System::Drawing::Size GetPropertySize (System::String key)
 Gets a value of size property. More...
 
ASPOSE_PAGE_SHARED_API int32_t GetPropertyInt (System::String key)
 Gets a value of integer property. More...
 
ASPOSE_PAGE_SHARED_API double GetPropertyDouble (System::String key)
 Gets a value of double property. More...
 
ASPOSE_PAGE_SHARED_API bool IsProperty (System::String key)
 Gets a value of boolean property. More...
 
virtual ASPOSE_PAGE_SHARED_API void Rotate (double theta, double x, double y)
 Rotate the current transformation matrix around a point. More...
 
virtual ASPOSE_PAGE_SHARED_API void DrawArc (double x, double y, double width, double height, double startAngle, double arcAngle)
 Draws an arc. More...
 
virtual ASPOSE_PAGE_SHARED_API void DrawLine (double x1, double y1, double x2, double y2)
 Draws a line segment. More...
 
virtual ASPOSE_PAGE_SHARED_API void DrawOval (double x, double y, double width, double height)
 Draws an oval. More...
 
virtual ASPOSE_PAGE_SHARED_API void DrawPolyline (System::ArrayPtr< int32_t > xPoints, System::ArrayPtr< int32_t > yPoints, int32_t nPoints)
 Draws a polyline. More...
 
virtual ASPOSE_PAGE_SHARED_API void DrawPolyline (System::ArrayPtr< double > xPoints, System::ArrayPtr< double > yPoints, int32_t nPoints)
 Draws a polyline. More...
 
virtual ASPOSE_PAGE_SHARED_API void DrawPolygon (System::ArrayPtr< int32_t > xPoints, System::ArrayPtr< int32_t > yPoints, int32_t nPoints)
 Draws a polygon. More...
 
virtual ASPOSE_PAGE_SHARED_API void DrawPolygon (System::ArrayPtr< double > xPoints, System::ArrayPtr< double > yPoints, int32_t nPoints)
 Draws a poligone. More...
 
virtual ASPOSE_PAGE_SHARED_API void DrawRect (double x, double y, double width, double height)
 Draws a rectangle. More...
 
virtual ASPOSE_PAGE_SHARED_API void DrawRoundRect (double x, double y, double width, double height, double arcWidth, double arcHeight)
 Draws a round rectangle. More...
 
virtual ASPOSE_PAGE_SHARED_API void FillArc (double x, double y, double width, double height, double startAngle, double arcAngle)
 Fills an arc. More...
 
virtual ASPOSE_PAGE_SHARED_API void FillOval (double x, double y, double width, double height)
 Fills an oval. More...
 
virtual ASPOSE_PAGE_SHARED_API void FillPolygon (System::ArrayPtr< int32_t > xPoints, System::ArrayPtr< int32_t > yPoints, int32_t nPoints)
 Fills a poligone. More...
 
virtual ASPOSE_PAGE_SHARED_API void FillPolygon (System::ArrayPtr< double > xPoints, System::ArrayPtr< double > yPoints, int32_t nPoints)
 Fills a poligone. More...
 
virtual ASPOSE_PAGE_SHARED_API void FillRect (double x, double y, double width, double height)
 Fills a rectangle. More...
 
virtual ASPOSE_PAGE_SHARED_API void FillRoundRect (double x, double y, double width, double height, double arcWidth, double arcHeight)
 Fills a round rectangle. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Static Public Member Functions

static ASPOSE_PAGE_SHARED_API System::StringTRANSPARENT ()
 "Transparent" property key. More...
 
static ASPOSE_PAGE_SHARED_API System::StringBACKGROUND ()
 "Background" property key. More...
 
static ASPOSE_PAGE_SHARED_API System::StringBACKGROUND_COLOR ()
 "Background color" property key. More...
 
static ASPOSE_PAGE_SHARED_API System::StringPAGE_SIZE ()
 "Page size" property key. More...
 
static ASPOSE_PAGE_SHARED_API System::StringPAGE_MARGINS ()
 "Page margins" property key. More...
 
static ASPOSE_PAGE_SHARED_API System::StringORIENTATION ()
 "Orientation" property key. More...
 
static ASPOSE_PAGE_SHARED_API System::StringFIT_TO_PAGE ()
 "Fit content to page" property key. More...
 
static ASPOSE_PAGE_SHARED_API System::StringEMBED_FONTS ()
 "Embed font in document" property key. More...
 
static ASPOSE_PAGE_SHARED_API System::StringEMIT_WARNINGS ()
 "Emit warnings" property value. More...
 
static ASPOSE_PAGE_SHARED_API System::StringEMIT_ERRORS ()
 "Emit errors" property value. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Static Public Attributes

static ASPOSE_PAGE_SHARED_API System::String PRODUCER
 
- Static Public Attributes inherited from Aspose::Page::Device
static ASPOSE_PAGE_SHARED_API System::String VERSION
 

Protected Member Functions

System::SharedPtr< ApsDeviceget_InternalDevice () const
 
 ImageDevice (System::SharedPtr< ImageDevice > device, bool doRestoreOnDispose)
 Clone constructor. Initializes new instance of ImageDevice with existing device. More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteBackground ()
 Writes out current background. More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteWidth (float width)
 Writes out the width of the stroke. More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteCap (System::Drawing::Drawing2D::LineCap cap)
 Writes out the cap of the stroke. More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteJoin (System::Drawing::Drawing2D::LineJoin join)
 Writes out the join of the stroke. More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteMiterLimit (float limit)
 Writes out the miter limit of the stroke. More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteDash (System::ArrayPtr< double > dash, double phase, System::Drawing::Drawing2D::DashCap dashCap)
 Writes out the dash of the stroke. More...
 
virtual ASPOSE_PAGE_SHARED_API void WritePaint (System::SharedPtr< System::Drawing::SolidBrush > c)
 Writes out paint as the given color. More...
 
virtual ASPOSE_PAGE_SHARED_API void WritePaint (System::SharedPtr< System::Drawing::Drawing2D::LinearGradientBrush > c)
 Writes out paint as the given gradient. More...
 
virtual ASPOSE_PAGE_SHARED_API void WritePaint (System::SharedPtr< System::Drawing::TextureBrush > c)
 Writes out paint as the given texture. More...
 
virtual ASPOSE_PAGE_SHARED_API void WritePaint (System::SharedPtr< System::Drawing::Brush > paint)
 Writes out paint. More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteWarning (System::String warning)
 Writes out a warning, by default to System.err. More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteString (System::SharedPtr< ITrFont > font, System::String str)
 Writes out string with specified font. More...
 
virtual ASPOSE_PAGE_SHARED_API void SetVentureLicense (System::SharedPtr< Aspose::Page::LicenseManagement::VentureLicense > license)
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< Aspose::Page::LicenseManagement::VentureLicense > GetVentureLicense ()
 
virtual ASPOSE_PAGE_SHARED_API ~ImageDevice ()
 
- Protected Member Functions inherited from Aspose::Page::Device
 Device ()
 Initializes new instance of Device. More...
 
 Device (System::SharedPtr< Device > device)
 Clone constructor. Initializes this device with existing device. More...
 
void InitProperties (System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::SharedPtr< System::Object >>> defaults)
 Initializes default properties of device with values. More...
 
virtual ASPOSE_PAGE_SHARED_API void ApplyGraphicState (System::SharedPtr< System::Drawing::Drawing2D::Matrix > transform, System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath > clip)
 
virtual ASPOSE_PAGE_SHARED_API void DrawString (System::String str, double x, double y, double width, System::SharedPtr< Aspose::Rendering::ApsGlyphsIndices > indices, bool isRtl=false)
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Drawing::Drawing2D::GraphicsPathCreateShape (System::ArrayPtr< int32_t > xPoints, System::ArrayPtr< int32_t > yPoints, int32_t nPoints, bool close)
 Creates a polyline/polygon shape from a set of points. More...
 
System::SharedPtr< System::Drawing::Drawing2D::GraphicsPathCreateShape (System::ArrayPtr< double > xPoints, System::ArrayPtr< double > yPoints, int32_t nPoints, bool close)
 Creates a polyline/polygon shape from a set of points. More...
 
virtual ASPOSE_PAGE_SHARED_API void ClearRect (float x, float y, float width, float height)
 Clears rectangle by painting it with the backgroundColor. More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteStroke (System::SharedPtr< System::Drawing::Pen > stroke)
 Writes out the current stroke. If stroke is an instance of BasicStroke it will call writeWidth, writeCap, writeJoin, writeMiterLimit and writeDash, if any were different than the current stroke. More...
 
virtual ASPOSE_PAGE_SHARED_API void HandleException (System::Exception exception)
 Handles an exception which has been caught. Dispatches exception to writeWarning for UnsupportedOperationExceptions and writeError for others More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteWarning (System::Exception warning)
 Writes out a warning, by default to System.err. More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteError (System::Exception error)
 Writes out an error, by default the stack trace is printed. More...
 
virtual ASPOSE_PAGE_SHARED_API void SetVentureLicense (System::SharedPtr< LicenseManagement::VentureLicense > license)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 
- Protected Attributes inherited from Aspose::Page::Device
System::String creator
 
System::SharedPtr< Aspose::Page::SaveOptionssaveOptions
 
System::Drawing::Size size
 
float opacity
 
System::SharedPtr< System::Drawing::Penstroke
 
System::SharedPtr< System::Drawing::Brushpaint
 
System::SharedPtr< System::Drawing::BrushopacityMask
 
System::SharedPtr< ITrFontfont
 
System::SharedPtr< System::Drawing::Drawing2D::MatrixcharTM
 
Aspose::Page::TextRenderingMode textRenderingMode
 
float textStrokeWidth
 

Detailed Description

This class encapsulates rendering of document to image.

Constructor & Destructor Documentation

◆ ImageDevice() [1/5]

ASPOSE_PAGE_SHARED_API Aspose::Page::EPS::Device::ImageDevice::ImageDevice ( )

Initializes new instance of ImageDevice.

◆ ImageDevice() [2/5]

ASPOSE_PAGE_SHARED_API Aspose::Page::EPS::Device::ImageDevice::ImageDevice ( System::Drawing::Size  size)

Initializes new instance of ImageDevice with specified size of a page.

Parameters
sizePage size.

◆ ImageDevice() [3/5]

ASPOSE_PAGE_SHARED_API Aspose::Page::EPS::Device::ImageDevice::ImageDevice ( System::SharedPtr< System::Drawing::Imaging::ImageFormat imageFormat)

Initializes new instance of ImageDevice with specified image format.

Parameters
imageFormatFormat of the image.

◆ ImageDevice() [4/5]

ASPOSE_PAGE_SHARED_API Aspose::Page::EPS::Device::ImageDevice::ImageDevice ( System::Drawing::Size  size,
System::SharedPtr< System::Drawing::Imaging::ImageFormat imageFormat 
)

Initializes new instance of ImageDevice with specified size of a page and image format.

Parameters
sizePage size.
imageFormatFormat of the image.

◆ ImageDevice() [5/5]

Aspose::Page::EPS::Device::ImageDevice::ImageDevice ( System::SharedPtr< ImageDevice device,
bool  doRestoreOnDispose 
)
protected

Clone constructor. Initializes new instance of ImageDevice with existing device.

Parameters
deviceExisting device.
doRestoreOnDisposeUse true if need to write restoring graphics state on disposing.

◆ ~ImageDevice()

virtual ASPOSE_PAGE_SHARED_API Aspose::Page::EPS::Device::ImageDevice::~ImageDevice ( )
protectedvirtual

Member Function Documentation

◆ BACKGROUND()

static ASPOSE_PAGE_SHARED_API System::String& Aspose::Page::EPS::Device::ImageDevice::BACKGROUND ( )
static

"Background" property key.

◆ BACKGROUND_COLOR()

static ASPOSE_PAGE_SHARED_API System::String& Aspose::Page::EPS::Device::ImageDevice::BACKGROUND_COLOR ( )
static

"Background color" property key.

◆ ClosePage()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::ClosePage ( )
virtual

Makes necessary preparation of the device after page has been rendered.

Implements Aspose::Page::IMultiPageDevice.

◆ Create()

virtual ASPOSE_PAGE_SHARED_API System::SharedPtr<Aspose::Page::Device> Aspose::Page::EPS::Device::ImageDevice::Create ( )
virtual

Creates a copy of this device.

Returns
Copy of this device.

Reimplemented from Aspose::Page::Device.

◆ Dispose()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::Dispose ( )
virtual

Disposes the device.

Reimplemented from Aspose::Page::Device.

◆ Draw()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::Draw ( System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath s)
virtual

Draws a path.

Parameters
sA path to be drawn.

Reimplemented from Aspose::Page::Device.

◆ DrawImage()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::DrawImage ( System::SharedPtr< System::Drawing::Bitmap image,
System::SharedPtr< System::Drawing::Drawing2D::Matrix transform,
System::Drawing::Color  bkg 
)
virtual

Draws an image with assigned transform and background.

Parameters
imageAn image to be drawn.
transformA transform.
bkgA background color.

Reimplemented from Aspose::Page::Device.

◆ DrawString()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::DrawString ( System::String  str,
double  x,
double  y 
)
virtual

Draws a string at given point.

Parameters
strA string to be drawn.
xX coordinate of point.
yY coordinate of point.

Reimplemented from Aspose::Page::Device.

◆ EMBED_FONTS()

static ASPOSE_PAGE_SHARED_API System::String& Aspose::Page::EPS::Device::ImageDevice::EMBED_FONTS ( )
static

"Embed font in document" property key.

◆ EMIT_ERRORS()

static ASPOSE_PAGE_SHARED_API System::String& Aspose::Page::EPS::Device::ImageDevice::EMIT_ERRORS ( )
static

"Emit errors" property value.

◆ EMIT_WARNINGS()

static ASPOSE_PAGE_SHARED_API System::String& Aspose::Page::EPS::Device::ImageDevice::EMIT_WARNINGS ( )
static

"Emit warnings" property value.

◆ EndDocument()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::EndDocument ( )
virtual

Makes necessary preparation of device after the document has been rendered.

Reimplemented from Aspose::Page::Device.

◆ Fill()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::Fill ( System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath s)
virtual

Fills a path.

Parameters
sA path to be filled.

Reimplemented from Aspose::Page::Device.

◆ FIT_TO_PAGE()

static ASPOSE_PAGE_SHARED_API System::String& Aspose::Page::EPS::Device::ImageDevice::FIT_TO_PAGE ( )
static

"Fit content to page" property key.

◆ get_Background()

virtual ASPOSE_PAGE_SHARED_API System::Drawing::Color Aspose::Page::EPS::Device::ImageDevice::get_Background ( )
virtual

Indicates whether device uses direct RGB mode, that is RGB.

Returns
True if direct RGB mode and false otherwise, that is BGR.

Reimplemented from Aspose::Page::Device.

◆ get_CharTM()

virtual ASPOSE_PAGE_SHARED_API System::SharedPtr<System::Drawing::Drawing2D::Matrix> Aspose::Page::EPS::Device::ImageDevice::get_CharTM ( )
virtual

Returns or specifies current characters transform.

Reimplemented from Aspose::Page::Device.

◆ get_Creator()

ASPOSE_PAGE_SHARED_API System::String Aspose::Page::EPS::Device::ImageDevice::get_Creator ( )

Returns or specifies creator of resulting device output.

◆ get_CurrentPageNumber()

virtual ASPOSE_PAGE_SHARED_API int32_t Aspose::Page::EPS::Device::ImageDevice::get_CurrentPageNumber ( )
virtual

Current page number.

Implements Aspose::Page::IMultiPageDevice.

◆ get_Font()

virtual ASPOSE_PAGE_SHARED_API System::SharedPtr<ITrFont> Aspose::Page::EPS::Device::ImageDevice::get_Font ( )
virtual

Returns or specifies current font.

Reimplemented from Aspose::Page::Device.

◆ get_Format()

ASPOSE_PAGE_SHARED_API System::SharedPtr<System::Drawing::Imaging::ImageFormat> Aspose::Page::EPS::Device::ImageDevice::get_Format ( ) const

Image format.

◆ get_ImagesBytes()

ASPOSE_PAGE_SHARED_API System::ArrayPtr<System::ArrayPtr<uint8_t> > Aspose::Page::EPS::Device::ImageDevice::get_ImagesBytes ( )

Returns resulting images in bytes, one byte array for one page.

◆ get_InternalDevice()

System::SharedPtr<ApsDevice> Aspose::Page::EPS::Device::ImageDevice::get_InternalDevice ( ) const
protected

◆ get_IsDirectRGB()

virtual ASPOSE_PAGE_SHARED_API bool Aspose::Page::EPS::Device::ImageDevice::get_IsDirectRGB ( )
virtual

Indicates whether device uses direct RGB mode, that is RGB.

Returns
True if direct RGB mode and false otherwise, that is BGR.

Reimplemented from Aspose::Page::Device.

◆ get_Opacity()

virtual ASPOSE_PAGE_SHARED_API float Aspose::Page::EPS::Device::ImageDevice::get_Opacity ( )
virtual

Returns or specifies current background of the page.

Reimplemented from Aspose::Page::Device.

◆ get_Paint()

virtual ASPOSE_PAGE_SHARED_API System::SharedPtr<System::Drawing::Brush> Aspose::Page::EPS::Device::ImageDevice::get_Paint ( )
virtual

Returns or specifies current paint.

Reimplemented from Aspose::Page::Device.

◆ get_Properties()

ASPOSE_PAGE_SHARED_API System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object> > > Aspose::Page::EPS::Device::ImageDevice::get_Properties ( )

Device properties including metadata.

◆ get_Size()

virtual ASPOSE_PAGE_SHARED_API System::Drawing::Size Aspose::Page::EPS::Device::ImageDevice::get_Size ( )
virtual

Returns or specifies a size of the page.

Reimplemented from Aspose::Page::Device.

◆ get_Stroke()

virtual ASPOSE_PAGE_SHARED_API System::SharedPtr<System::Drawing::Pen> Aspose::Page::EPS::Device::ImageDevice::get_Stroke ( )
virtual

Returns or specifies current stroke.

Reimplemented from Aspose::Page::Device.

◆ get_TextRenderingMode()

virtual ASPOSE_PAGE_SHARED_API Aspose::Page::TextRenderingMode Aspose::Page::EPS::Device::ImageDevice::get_TextRenderingMode ( )
virtual

Returns or specifies current text rendering mode.

Reimplemented from Aspose::Page::Device.

◆ get_TextStrokeWidth()

virtual ASPOSE_PAGE_SHARED_API float Aspose::Page::EPS::Device::ImageDevice::get_TextStrokeWidth ( )
virtual

Returns or specifies current text stroke width.

Reimplemented from Aspose::Page::Device.

◆ GetProperty()

ASPOSE_PAGE_SHARED_API System::String Aspose::Page::EPS::Device::ImageDevice::GetProperty ( System::String  key)

Gets a value of string property.

Parameters
keyThe name of property.
Returns
The property value.

◆ GetPropertyColor()

ASPOSE_PAGE_SHARED_API System::Drawing::Color Aspose::Page::EPS::Device::ImageDevice::GetPropertyColor ( System::String  key)

Gets a value of color property.

Parameters
keyThe name of property.
Returns
The property value.

◆ GetPropertyDouble()

ASPOSE_PAGE_SHARED_API double Aspose::Page::EPS::Device::ImageDevice::GetPropertyDouble ( System::String  key)

Gets a value of double property.

Parameters
keyThe name of property.
Returns
The property value.

◆ GetPropertyInt()

ASPOSE_PAGE_SHARED_API int32_t Aspose::Page::EPS::Device::ImageDevice::GetPropertyInt ( System::String  key)

Gets a value of integer property.

Parameters
keyThe name of property.
Returns
The property value.

◆ GetPropertyMargins()

ASPOSE_PAGE_SHARED_API System::SharedPtr<Margins> Aspose::Page::EPS::Device::ImageDevice::GetPropertyMargins ( System::String  key)

Gets a value of margins property.

Parameters
keyThe name of property.
Returns
The property value.

◆ GetPropertyRectangle()

ASPOSE_PAGE_SHARED_API System::Drawing::RectangleF Aspose::Page::EPS::Device::ImageDevice::GetPropertyRectangle ( System::String  key)

Gets a value of rectangle property.

Parameters
keyThe name of property.
Returns
The property value.

◆ GetPropertySize()

ASPOSE_PAGE_SHARED_API System::Drawing::Size Aspose::Page::EPS::Device::ImageDevice::GetPropertySize ( System::String  key)

Gets a value of size property.

Parameters
keyThe name of property.
Returns
The property value.

◆ GetTransform()

virtual ASPOSE_PAGE_SHARED_API System::SharedPtr<System::Drawing::Drawing2D::Matrix> Aspose::Page::EPS::Device::ImageDevice::GetTransform ( )
virtual

Gets the current transform.

Returns
Current transform.

Reimplemented from Aspose::Page::Device.

◆ GetVentureLicense()

virtual ASPOSE_PAGE_SHARED_API System::SharedPtr<Aspose::Page::LicenseManagement::VentureLicense> Aspose::Page::EPS::Device::ImageDevice::GetVentureLicense ( )
protectedvirtual

Reimplemented from Aspose::Page::Device.

◆ InitClip()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::InitClip ( )
virtual

Initializes a clip of the device.

Reimplemented from Aspose::Page::Device.

◆ InitPageNumbers()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::InitPageNumbers ( )
virtual

Initializes numbers of pages to output.

Implements Aspose::Page::IMultiPageDevice.

◆ IsProperty()

ASPOSE_PAGE_SHARED_API bool Aspose::Page::EPS::Device::ImageDevice::IsProperty ( System::String  key)

Gets a value of boolean property.

Parameters
keyThe name of property.
Returns
The property value.

◆ OpenPage() [1/2]

virtual ASPOSE_PAGE_SHARED_API bool Aspose::Page::EPS::Device::ImageDevice::OpenPage ( System::String  title)
virtual

Makes necessary preparation of the device before page rendering.

Parameters
titleThe page title.
Returns
Always true.

Implements Aspose::Page::IMultiPageDevice.

◆ OpenPage() [2/2]

virtual ASPOSE_PAGE_SHARED_API bool Aspose::Page::EPS::Device::ImageDevice::OpenPage ( float  width,
float  height 
)
virtual

Makes necessary preparation of the device before each page rendering.

Parameters
widthA width of the page.
heightA height of the page.
Returns
Always true.

Implements Aspose::Page::IMultiPageDevice.

◆ ORIENTATION()

static ASPOSE_PAGE_SHARED_API System::String& Aspose::Page::EPS::Device::ImageDevice::ORIENTATION ( )
static

"Orientation" property key.

◆ PAGE_MARGINS()

static ASPOSE_PAGE_SHARED_API System::String& Aspose::Page::EPS::Device::ImageDevice::PAGE_MARGINS ( )
static

"Page margins" property key.

◆ PAGE_SIZE()

static ASPOSE_PAGE_SHARED_API System::String& Aspose::Page::EPS::Device::ImageDevice::PAGE_SIZE ( )
static

"Page size" property key.

◆ ReNew()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::ReNew ( )
virtual

Reset device to initial state for whole document.

Reimplemented from Aspose::Page::Device.

◆ Reset()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::Reset ( )
virtual

Reset the device to initial state for a page.

Reimplemented from Aspose::Page::Device.

◆ Rotate()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::Rotate ( double  theta)
virtual

Rotate the current transformation matrix over the Z-axis. Calls writeTransform(Transform). Rotating with a positive angle theta rotates points on the positive x axis toward the positive y axis.

Parameters
thetaAngle in radians over which to rotate.

Reimplemented from Aspose::Page::Device.

◆ Scale()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::Scale ( double  sx,
double  sy 
)
virtual

Scales the current transformation matrix. Calls writeTransform(Transform).

Parameters
sxA scale in X axis.
syA scale in Y axis.

Reimplemented from Aspose::Page::Device.

◆ set_Background()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_Background ( System::Drawing::Color  value)
virtual

Indicates whether device uses direct RGB mode, that is RGB.

Parameters
valueTrue if direct RGB mode and false otherwise, that is BGR.

Reimplemented from Aspose::Page::Device.

◆ set_CharTM()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_CharTM ( System::SharedPtr< System::Drawing::Drawing2D::Matrix value)
virtual

Returns or specifies current characters transform.

Reimplemented from Aspose::Page::Device.

◆ set_Creator()

ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_Creator ( System::String  value)

Returns or specifies creator of resulting device output.

◆ set_Font()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_Font ( System::SharedPtr< ITrFont value)
virtual

Returns or specifies current font.

Reimplemented from Aspose::Page::Device.

◆ set_Opacity()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_Opacity ( float  value)
virtual

Returns or specifies current background of the page.

Reimplemented from Aspose::Page::Device.

◆ set_Paint()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_Paint ( System::SharedPtr< System::Drawing::Brush value)
virtual

Returns or specifies current paint.

Reimplemented from Aspose::Page::Device.

◆ set_Properties()

ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_Properties ( System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::SharedPtr< System::Object >>>  value)

Device properties including metadata.

◆ set_SaveOptions()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_SaveOptions ( System::SharedPtr< Aspose::Page::SaveOptions value)
virtual

Options for managing rendering process.

Reimplemented from Aspose::Page::Device.

◆ set_Size()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_Size ( System::Drawing::Size  value)
virtual

Returns or specifies a size of the page.

Reimplemented from Aspose::Page::Device.

◆ set_Stroke()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_Stroke ( System::SharedPtr< System::Drawing::Pen value)
virtual

Returns or specifies current stroke.

Reimplemented from Aspose::Page::Device.

◆ set_TextRenderingMode()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_TextRenderingMode ( Aspose::Page::TextRenderingMode  value)
virtual

Returns or specifies current text rendering mode.

Reimplemented from Aspose::Page::Device.

◆ set_TextStrokeWidth()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_TextStrokeWidth ( float  value)
virtual

Returns or specifies current text stroke width.

Reimplemented from Aspose::Page::Device.

◆ SetClip()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::SetClip ( System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath path)
virtual

Clips shape.

Parameters
pathPath that is used for clipping.

Reimplemented from Aspose::Page::Device.

◆ SetTransform()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::SetTransform ( System::SharedPtr< System::Drawing::Drawing2D::Matrix transform)
virtual

Specifies current transform.

Parameters
transformA transform.

Reimplemented from Aspose::Page::Device.

◆ SetVentureLicense()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::SetVentureLicense ( System::SharedPtr< Aspose::Page::LicenseManagement::VentureLicense >  license)
protectedvirtual

◆ Shear()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::Shear ( double  shx,
double  shy 
)
virtual

Shears the current transformation matrix. Calls writeTransform(Transform).

Parameters
shxA shear in X axis.
shyA shear in Y axis.

Reimplemented from Aspose::Page::Device.

◆ StartDocument()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::StartDocument ( )
virtual

Makes necessary preparation of device before start rendering of document.

Reimplemented from Aspose::Page::Device.

◆ ToString()

virtual ASPOSE_PAGE_SHARED_API System::String Aspose::Page::EPS::Device::ImageDevice::ToString ( )
virtual

Returns the name of device type.

Returns
Type name.

Reimplemented from Aspose::Page::Device.

◆ Transform()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::Transform ( System::SharedPtr< System::Drawing::Drawing2D::Matrix transform)
virtual

Transforms the current transformation matrix. Calls writeTransform(Transform).

Parameters
transformTransform to be applied.

Reimplemented from Aspose::Page::Device.

◆ Translate()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::Translate ( double  x,
double  y 
)
virtual

Translates the current transformation matrix. Calls writeTransform(Transform).

Parameters
xTranslation in X axis.
yTranslation in Y axis.

Reimplemented from Aspose::Page::Device.

◆ TRANSPARENT()

static ASPOSE_PAGE_SHARED_API System::String& Aspose::Page::EPS::Device::ImageDevice::TRANSPARENT ( )
static

"Transparent" property key.

◆ UpdatePageParameters()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::UpdatePageParameters ( System::SharedPtr< IMultiPageDevice device)
virtual

Updates page parameters from other multi-paged device.

Parameters
deviceAnother instance of the same device.

Implements Aspose::Page::IMultiPageDevice.

◆ WriteBackground()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WriteBackground ( )
protectedvirtual

Writes out current background.

Reimplemented from Aspose::Page::Device.

◆ WriteCap()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WriteCap ( System::Drawing::Drawing2D::LineCap  cap)
protectedvirtual

Writes out the cap of the stroke.

Parameters
capLine cap of the stroke.

Reimplemented from Aspose::Page::Device.

◆ WriteComment()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WriteComment ( System::String  comment)
virtual

Writes a comment.

Parameters
commentA comment to be written.

Reimplemented from Aspose::Page::Device.

◆ WriteDash()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WriteDash ( System::ArrayPtr< double >  dash,
double  phase,
System::Drawing::Drawing2D::DashCap  dashCap 
)
protectedvirtual

Writes out the dash of the stroke.

Parameters
dashThe dash pattern or an empty array if line is solid.
phaseThe phase of the dash pattern.
dashCapThe dash cap of the dash pattern.

Reimplemented from Aspose::Page::Device.

◆ WriteJoin()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WriteJoin ( System::Drawing::Drawing2D::LineJoin  join)
protectedvirtual

Writes out the join of the stroke.

Parameters
joinLine join of the stroke.

Reimplemented from Aspose::Page::Device.

◆ WriteMiterLimit()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WriteMiterLimit ( float  limit)
protectedvirtual

Writes out the miter limit of the stroke.

Parameters
limitMiter limit of the stroke.

Reimplemented from Aspose::Page::Device.

◆ WritePaint() [1/4]

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WritePaint ( System::SharedPtr< System::Drawing::SolidBrush c)
protectedvirtual

Writes out paint as the given color.

Parameters
cThe color to be written

Reimplemented from Aspose::Page::Device.

◆ WritePaint() [2/4]

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WritePaint ( System::SharedPtr< System::Drawing::Drawing2D::LinearGradientBrush c)
protectedvirtual

Writes out paint as the given gradient.

Parameters
cThe paint to be written

Reimplemented from Aspose::Page::Device.

◆ WritePaint() [3/4]

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WritePaint ( System::SharedPtr< System::Drawing::TextureBrush c)
protectedvirtual

Writes out paint as the given texture.

Parameters
cThe paint to be written

Reimplemented from Aspose::Page::Device.

◆ WritePaint() [4/4]

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WritePaint ( System::SharedPtr< System::Drawing::Brush paint)
protectedvirtual

Writes out paint.

Parameters
paintThe paint to be written

Reimplemented from Aspose::Page::Device.

◆ WriteString()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WriteString ( System::SharedPtr< ITrFont font,
System::String  str 
)
protectedvirtual

Writes out string with specified font.

Parameters
fontSpecified font.
strThe string.

Reimplemented from Aspose::Page::Device.

◆ WriteWarning()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WriteWarning ( System::String  warning)
protectedvirtual

Writes out a warning, by default to System.err.

Parameters
warningto be written

Reimplemented from Aspose::Page::Device.

◆ WriteWidth()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WriteWidth ( float  width)
protectedvirtual

Writes out the width of the stroke.

Parameters
widthThe width of the stroke

Reimplemented from Aspose::Page::Device.

Member Data Documentation

◆ PRODUCER

ASPOSE_PAGE_SHARED_API System::String Aspose::Page::EPS::Device::ImageDevice::PRODUCER
static