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...
 
ASPOSE_PAGE_SHARED_API void set_SaveOptions (System::SharedPtr< Aspose::Page::SaveOptions > value) override
 Options for managing rendering process. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::SharedPtr< System::Object > > > get_Properties () override
 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) override
 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...
 
ASPOSE_PAGE_SHARED_API System::Drawing::Size get_Size () override
 Returns or specifies a size of the page. More...
 
ASPOSE_PAGE_SHARED_API void set_Size (System::Drawing::Size value) override
 Returns or specifies a size of the page. More...
 
ASPOSE_PAGE_SHARED_API System::Drawing::Color get_Background () override
 Indicates whether device uses direct RGB mode, that is RGB. More...
 
ASPOSE_PAGE_SHARED_API void set_Background (System::Drawing::Color value) override
 Indicates whether device uses direct RGB mode, that is RGB. More...
 
ASPOSE_PAGE_SHARED_API float get_Opacity () override
 Returns or specifies current background of the page. More...
 
ASPOSE_PAGE_SHARED_API void set_Opacity (float value) override
 Returns or specifies current background of the page. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Drawing::Penget_Stroke () override
 Returns or specifies current stroke. More...
 
ASPOSE_PAGE_SHARED_API void set_Stroke (System::SharedPtr< System::Drawing::Pen > value) override
 Returns or specifies current stroke. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Drawing::Brushget_Paint () override
 Returns or specifies current paint. More...
 
ASPOSE_PAGE_SHARED_API void set_Paint (System::SharedPtr< System::Drawing::Brush > value) override
 Returns or specifies current paint. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< BaseTrFontget_Font () override
 Returns or specifies current font. More...
 
ASPOSE_PAGE_SHARED_API void set_Font (System::SharedPtr< BaseTrFont > value) override
 Returns or specifies current font. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Drawing::Drawing2D::Matrixget_CharTM () override
 Returns or specifies current characters transform. More...
 
ASPOSE_PAGE_SHARED_API void set_CharTM (System::SharedPtr< System::Drawing::Drawing2D::Matrix > value) override
 Returns or specifies current characters transform. More...
 
ASPOSE_PAGE_SHARED_API Aspose::Page::TextRenderingMode get_TextRenderingMode () override
 Returns or specifies current text rendering mode. More...
 
ASPOSE_PAGE_SHARED_API void set_TextRenderingMode (Aspose::Page::TextRenderingMode value) override
 Returns or specifies current text rendering mode. More...
 
ASPOSE_PAGE_SHARED_API float get_TextStrokeWidth () override
 Returns or specifies current text stroke width. More...
 
ASPOSE_PAGE_SHARED_API void set_TextStrokeWidth (float value) override
 Returns or specifies current text stroke width. More...
 
ASPOSE_PAGE_SHARED_API bool get_IsDirectRGB () override
 Indicates whether device uses direct RGB mode, that is RGB. More...
 
ASPOSE_PAGE_SHARED_API int32_t get_CurrentPageNumber () override
 Current page number. More...
 
ASPOSE_PAGE_SHARED_API System::ArrayPtr< System::ArrayPtr< uint8_t > > get_ImagesBytes () const
 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...
 
ASPOSE_PAGE_SHARED_API void ReNew () override
 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...
 
ASPOSE_PAGE_SHARED_API void StartDocument () override
 Makes necessary preparation of device before start rendering of document. More...
 
ASPOSE_PAGE_SHARED_API void EndDocument () override
 Makes necessary preparation of device after the document has been rendered. More...
 
ASPOSE_PAGE_SHARED_API void Dispose () override
 Disposes the device. More...
 
ASPOSE_PAGE_SHARED_API void Reset () override
 Reset the device to initial state for a page. More...
 
ASPOSE_PAGE_SHARED_API void InitPageNumbers () override
 Initializes numbers of pages to output. More...
 
ASPOSE_PAGE_SHARED_API bool OpenPage (System::String title) override
 Makes necessary preparation of the device before page rendering. More...
 
ASPOSE_PAGE_SHARED_API bool OpenPage (float width, float height) override
 Makes necessary preparation of the device before each page rendering. More...
 
ASPOSE_PAGE_SHARED_API void ClosePage () override
 Makes necessary preparation of the device after page has been rendered. More...
 
ASPOSE_PAGE_SHARED_API void UpdatePageParameters (System::SharedPtr< IMultiPageDevice > device) override
 Updates page parameters from other multi-paged device. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< Aspose::Page::DeviceCreate () override
 Creates a copy of this device. More...
 
ASPOSE_PAGE_SHARED_API void InitClip () override
 Initializes a clip of the device. More...
 
ASPOSE_PAGE_SHARED_API void Draw (System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath > s) override
 Draws a path. More...
 
ASPOSE_PAGE_SHARED_API void Fill (System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath > s) override
 Fills a path. More...
 
ASPOSE_PAGE_SHARED_API void DrawImage (System::SharedPtr< System::Drawing::Bitmap > image, System::SharedPtr< System::Drawing::Drawing2D::Matrix > transform, System::Drawing::Color bkg) override
 Draws an image with assigned transform and background. More...
 
ASPOSE_PAGE_SHARED_API void DrawString (System::String str, double x, double y) override
 Draws a string at given point. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Drawing::Drawing2D::MatrixGetTransform () override
 Gets the current transform. More...
 
ASPOSE_PAGE_SHARED_API void SetTransform (System::SharedPtr< System::Drawing::Drawing2D::Matrix > transform) override
 Specifies current transform. More...
 
ASPOSE_PAGE_SHARED_API void Transform (System::SharedPtr< System::Drawing::Drawing2D::Matrix > transform) override
 Transforms the current transformation matrix. Calls writeTransform(Transform). More...
 
ASPOSE_PAGE_SHARED_API void Translate (double x, double y) override
 Translates the current transformation matrix. Calls writeTransform(Transform). More...
 
ASPOSE_PAGE_SHARED_API void Rotate (double theta) override
 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...
 
ASPOSE_PAGE_SHARED_API void Scale (double sx, double sy) override
 Scales the current transformation matrix. Calls writeTransform(Transform). More...
 
ASPOSE_PAGE_SHARED_API void Shear (double shx, double shy) override
 Shears the current transformation matrix. Calls writeTransform(Transform). More...
 
ASPOSE_PAGE_SHARED_API void SetClip (System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath > path) override
 Clips shape. More...
 
ASPOSE_PAGE_SHARED_API void WriteComment (System::String comment) override
 Writes a comment. More...
 
ASPOSE_PAGE_SHARED_API System::String ToString () const override
 Returns the name of device type. More...
 
- Public Member Functions inherited from Aspose::Page::Device
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 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 System::SharedPtr< System::Drawing::Drawing2D::MatrixGetPropertyMatrix (System::String key)
 Gets a value of matrix 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 reference 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 int32_t 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 (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. 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_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 ()
 Implements C# typeof(System.Object) construct. More...
 

Static Public Attributes

static ASPOSE_PAGE_SHARED_API System::String PAGE_SIZE_
 "Page size" property key. More...
 
static ASPOSE_PAGE_SHARED_API System::String PRODUCER
 "Producer" property value. More...
 
- Static Public Attributes inherited from Aspose::Page::Device
static ASPOSE_PAGE_SHARED_API System::String VERSION
 Current device version. More...
 

Protected Member Functions

System::SharedPtr< ApsDeviceget_InternalDevice () const
 
ASPOSE_PAGE_SHARED_API ImageDevice (System::SharedPtr< ImageDevice > device, bool doRestoreOnDispose)
 Clone constructor. Initializes new instance of ImageDevice with existing device. More...
 
ASPOSE_PAGE_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (ImageDevice, CODEPORTING_ARGS(System::SharedPtr< ImageDevice > device, bool doRestoreOnDispose))
 
ASPOSE_PAGE_SHARED_API void WriteBackground () override
 Writes out current background. More...
 
ASPOSE_PAGE_SHARED_API void Reset (bool zeroPageNumbers) override
 
virtual ASPOSE_PAGE_SHARED_API void SavePageTransform ()
 
ASPOSE_PAGE_SHARED_API void DrawBitmapGlyph (System::SharedPtr< System::Object > charSelector, System::String fontName, System::SharedPtr< System::Drawing::Bitmap > image, System::SharedPtr< System::Drawing::Drawing2D::Matrix > transform) override
 
ASPOSE_PAGE_SHARED_API void WriteWidth (float width) override
 Writes out the width of the stroke. More...
 
ASPOSE_PAGE_SHARED_API void WriteCap (System::Drawing::Drawing2D::LineCap cap) override
 Writes out the cap of the stroke. More...
 
ASPOSE_PAGE_SHARED_API void WriteJoin (System::Drawing::Drawing2D::LineJoin join) override
 Writes out the join of the stroke. More...
 
ASPOSE_PAGE_SHARED_API void WriteMiterLimit (float limit) override
 Writes out the miter limit of the stroke. More...
 
ASPOSE_PAGE_SHARED_API void WriteDash (System::ArrayPtr< double > dash, double phase, System::Drawing::Drawing2D::DashCap dashCap, float width) override
 Writes out the dash of the stroke. More...
 
ASPOSE_PAGE_SHARED_API void WritePaint (System::SharedPtr< System::Drawing::SolidBrush > c) override
 Writes out paint as the given color. More...
 
ASPOSE_PAGE_SHARED_API void WritePaint (System::SharedPtr< System::Drawing::Drawing2D::LinearGradientBrush > c) override
 Writes out paint as the given gradient. More...
 
ASPOSE_PAGE_SHARED_API void WritePaint (System::SharedPtr< System::Drawing::TextureBrush > c) override
 Writes out paint as the given texture. More...
 
ASPOSE_PAGE_SHARED_API void WritePaint (System::SharedPtr< System::Drawing::Brush > paint) override
 Writes out paint. More...
 
ASPOSE_PAGE_SHARED_API void WriteWarning (System::String warning) override
 Writes out a warning, by default to System.err. More...
 
ASPOSE_PAGE_SHARED_API void WriteString (System::SharedPtr< BaseTrFont > font, System::String str) override
 Writes out string with specified font. More...
 
ASPOSE_PAGE_SHARED_API int64_t GetFinalWrittenLength () override
 
ASPOSE_PAGE_SHARED_API void SetVentureLicense (System::SharedPtr< Aspose::Page::LicenseManagement::VentureLicense > license) override
 
ASPOSE_PAGE_SHARED_API void SetPlugin (Aspose::Page::Plugins::Plugin plugin) override
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< Aspose::Page::LicenseManagement::VentureLicense > GetVentureLicense () override
 
virtual ASPOSE_PAGE_SHARED_API ~ImageDevice ()
 
- Protected Member Functions inherited from Aspose::Page::Device
bool get_IsMainDocument () const
 
bool get_IsLicensed ()
 Indicates whether this instance of Aspose.Page library is licensed. More...
 
ASPOSE_PAGE_SHARED_API Device ()
 Initializes new instance of Device. More...
 
virtual ASPOSE_PAGE_SHARED_API void ReNewForMerge (bool mainDocument)
 
ASPOSE_PAGE_SHARED_API void InitGS ()
 
ASPOSE_PAGE_SHARED_API Device (System::SharedPtr< Device > device)
 Clone constructor. Initializes this device with existing device. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< Aspose::Page::SaveOptionsGetSaveOptions ()
 
ASPOSE_PAGE_SHARED_API void InitProperties (System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::SharedPtr< System::Object >>> defaults)
 Initializes default properties of device with values. More...
 
void PrintProperties ()
 
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...
 
ASPOSE_PAGE_SHARED_API 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 WritePaint (System::SharedPtr< System::Drawing::Drawing2D::PathGradientBrush > paint)
 Writes out paint as the given gradient. More...
 
virtual ASPOSE_PAGE_SHARED_API void WritePaint (System::SharedPtr< EPS::GradientBrush > paint)
 Writes out paint as the given gradient. More...
 
virtual ASPOSE_PAGE_SHARED_API void WritePaint (System::SharedPtr< System::Drawing::Drawing2D::HatchBrush > paint)
 Writes out paint as the given hatch pattern. More...
 
virtual ASPOSE_PAGE_SHARED_API void SetVentureLicense (System::SharedPtr< LicenseManagement::VentureLicense > license)
 
virtual ASPOSE_PAGE_SHARED_API void SetPlugin (Plugins::Plugin plugin)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Protected Attributes inherited from Aspose::Page::Device
Plugins::Plugin _usedByPlugin
 
System::String creator
 Creator of resulting device output. More...
 
System::SharedPtr< Aspose::Page::SaveOptionssaveOptions
 Options for managing rendering process. More...
 
System::Drawing::Size size
 Size of the page. More...
 
float opacity
 Current opacity. More...
 
System::SharedPtr< System::Drawing::Penstroke
 Current stroke. More...
 
System::SharedPtr< System::Drawing::Brushpaint
 Current paint. More...
 
System::SharedPtr< System::Drawing::BrushopacityMask
 Current opacity mask. More...
 
System::SharedPtr< BaseTrFontfont
 Current font. More...
 
System::SharedPtr< System::Drawing::Drawing2D::MatrixcharTM
 Current character transform. More...
 
Aspose::Page::TextRenderingMode textRenderingMode
 Current text rendering mode. More...
 
float textStrokeWidth
 Current text stroke width. More...
 
bool mainDocument
 
- Static Protected Attributes inherited from Aspose::Page::Device
static System::Drawing::Size DefaultSize
 

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_SHARED_API 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()

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

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

Implements Aspose::Page::IMultiPageDevice.

◆ Create()

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

Creates a copy of this device.

Returns
Copy of this device.

Reimplemented from Aspose::Page::Device.

◆ Dispose()

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

Disposes the device.

Reimplemented from Aspose::Page::Device.

◆ Draw()

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

Draws a path.

Parameters
sA path to be drawn.

Reimplemented from Aspose::Page::Device.

◆ DrawBitmapGlyph()

ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::DrawBitmapGlyph ( System::SharedPtr< System::Object charSelector,
System::String  fontName,
System::SharedPtr< System::Drawing::Bitmap image,
System::SharedPtr< System::Drawing::Drawing2D::Matrix transform 
)
overrideprotectedvirtual

Reimplemented from Aspose::Page::Device.

◆ DrawImage()

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 
)
overridevirtual

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()

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

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()

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

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

Reimplemented from Aspose::Page::Device.

◆ Fill()

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

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()

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

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()

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

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()

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

Current page number.

Implements Aspose::Page::IMultiPageDevice.

◆ get_Font()

ASPOSE_PAGE_SHARED_API System::SharedPtr<BaseTrFont> Aspose::Page::EPS::Device::ImageDevice::get_Font ( )
overridevirtual

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 ( ) const

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()

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

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()

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

Returns or specifies current background of the page.

Reimplemented from Aspose::Page::Device.

◆ get_Paint()

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

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 ( )
overridevirtual

Device properties including metadata.

Reimplemented from Aspose::Page::Device.

◆ get_Size()

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

Returns or specifies a size of the page.

Reimplemented from Aspose::Page::Device.

◆ get_Stroke()

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

Returns or specifies current stroke.

Reimplemented from Aspose::Page::Device.

◆ get_TextRenderingMode()

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

Returns or specifies current text rendering mode.

Reimplemented from Aspose::Page::Device.

◆ get_TextStrokeWidth()

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

Returns or specifies current text stroke width.

Reimplemented from Aspose::Page::Device.

◆ GetFinalWrittenLength()

ASPOSE_PAGE_SHARED_API int64_t Aspose::Page::EPS::Device::ImageDevice::GetFinalWrittenLength ( )
overrideprotectedvirtual

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()

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

Gets the current transform.

Returns
Current transform.

Reimplemented from Aspose::Page::Device.

◆ GetVentureLicense()

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

Reimplemented from Aspose::Page::Device.

◆ InitClip()

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

Initializes a clip of the device.

Reimplemented from Aspose::Page::Device.

◆ InitPageNumbers()

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

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.

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION()

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

◆ OpenPage() [1/2]

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

Makes necessary preparation of the device before page rendering.

Parameters
titleThe page title.
Returns
Always true.

Implements Aspose::Page::IMultiPageDevice.

◆ OpenPage() [2/2]

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

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.

◆ ReNew()

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

Reset device to initial state for whole document.

Reimplemented from Aspose::Page::Device.

◆ Reset() [1/2]

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

Reset the device to initial state for a page.

Reimplemented from Aspose::Page::Device.

◆ Reset() [2/2]

ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::Reset ( bool  zeroPageNumbers)
overrideprotectedvirtual

Reimplemented from Aspose::Page::Device.

◆ Rotate()

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

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.

◆ SavePageTransform()

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

◆ Scale()

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

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()

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

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()

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

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()

ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::set_Font ( System::SharedPtr< BaseTrFont value)
overridevirtual

Returns or specifies current font.

Reimplemented from Aspose::Page::Device.

◆ set_Opacity()

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

Returns or specifies current background of the page.

Reimplemented from Aspose::Page::Device.

◆ set_Paint()

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

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)
overridevirtual

Device properties including metadata.

Reimplemented from Aspose::Page::Device.

◆ set_SaveOptions()

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

Options for managing rendering process.

Reimplemented from Aspose::Page::Device.

◆ set_Size()

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

Returns or specifies a size of the page.

Reimplemented from Aspose::Page::Device.

◆ set_Stroke()

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

Returns or specifies current stroke.

Reimplemented from Aspose::Page::Device.

◆ set_TextRenderingMode()

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

Returns or specifies current text rendering mode.

Reimplemented from Aspose::Page::Device.

◆ set_TextStrokeWidth()

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

Returns or specifies current text stroke width.

Reimplemented from Aspose::Page::Device.

◆ SetClip()

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

Clips shape.

Parameters
pathPath that is used for clipping.

Reimplemented from Aspose::Page::Device.

◆ SetPlugin()

ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::SetPlugin ( Aspose::Page::Plugins::Plugin  plugin)
overrideprotected

◆ SetTransform()

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

Specifies current transform.

Parameters
transformA transform.

Reimplemented from Aspose::Page::Device.

◆ SetVentureLicense()

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

◆ Shear()

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

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()

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

Makes necessary preparation of device before start rendering of document.

Reimplemented from Aspose::Page::Device.

◆ ToString()

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

Returns the name of device type.

Returns
Type name.

Reimplemented from Aspose::Page::Device.

◆ Transform()

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

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

Parameters
transformTransform to be applied.

Reimplemented from Aspose::Page::Device.

◆ Translate()

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

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()

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

Updates page parameters from other multi-paged device.

Parameters
deviceAnother instance of the same device.

Implements Aspose::Page::IMultiPageDevice.

◆ WriteBackground()

ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WriteBackground ( )
overrideprotectedvirtual

Writes out current background.

Reimplemented from Aspose::Page::Device.

◆ WriteCap()

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

Writes out the cap of the stroke.

Parameters
capLine cap of the stroke.

Reimplemented from Aspose::Page::Device.

◆ WriteComment()

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

Writes a comment.

Parameters
commentA comment to be written.

Reimplemented from Aspose::Page::Device.

◆ WriteDash()

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

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()

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

Writes out the join of the stroke.

Parameters
joinLine join of the stroke.

Reimplemented from Aspose::Page::Device.

◆ WriteMiterLimit()

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

Writes out the miter limit of the stroke.

Parameters
limitMiter limit of the stroke.

Reimplemented from Aspose::Page::Device.

◆ WritePaint() [1/4]

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

Writes out paint as the given color.

Parameters
cThe color to be written

Reimplemented from Aspose::Page::Device.

◆ WritePaint() [2/4]

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

Writes out paint as the given gradient.

Parameters
cThe paint to be written

Reimplemented from Aspose::Page::Device.

◆ WritePaint() [3/4]

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

Writes out paint as the given texture.

Parameters
cThe paint to be written

Reimplemented from Aspose::Page::Device.

◆ WritePaint() [4/4]

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

Writes out paint.

Parameters
paintThe paint to be written

Reimplemented from Aspose::Page::Device.

◆ WriteString()

ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ImageDevice::WriteString ( System::SharedPtr< BaseTrFont font,
System::String  str 
)
overrideprotectedvirtual

Writes out string with specified font.

Parameters
fontSpecified font.
strThe string.

Reimplemented from Aspose::Page::Device.

◆ WriteWarning()

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

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

Parameters
warningto be written

Reimplemented from Aspose::Page::Device.

◆ WriteWidth()

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

Writes out the width of the stroke.

Parameters
widthThe width of the stroke

Reimplemented from Aspose::Page::Device.

Member Data Documentation

◆ PAGE_SIZE_

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

"Page size" property key.

◆ PRODUCER

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

"Producer" property value.