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

Public Member Functions

virtual ASPOSE_PAGE_SHARED_API void set_Size (System::Drawing::Size value)
 Specifies a size of the page. 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...
 
virtual ASPOSE_PAGE_SHARED_API void set_Font (System::SharedPtr< ITrFont > value)
 Draws frame and banner around a string. The method calculates and returns the point to which the text curser should be set before drawing the string. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Rendering::ApsPage > > > get_Pages () const
 
ASPOSE_PAGE_SHARED_API ApsDevice ()
 
ASPOSE_PAGE_SHARED_API ApsDevice (System::Drawing::Size pageSize)
 
virtual ASPOSE_PAGE_SHARED_API void ReNew ()
 Reset device to initial state for whole document. Used for reseting output stream. 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 of the graphics context. If on creation restoreOnDispose was true, writeGraphicsRestore() will be called. 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 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 ()
 Get 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 transform. Calls writeTransform(Transform) More...
 
virtual ASPOSE_PAGE_SHARED_API void Translate (double x, double y)
 Translates the current transform. Calls writeTransform(Transform) More...
 
virtual ASPOSE_PAGE_SHARED_API void Rotate (double theta)
 Rotate the current transform 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 transform. Calls writeTransform(Transform). More...
 
virtual ASPOSE_PAGE_SHARED_API void Shear (double shx, double shy)
 Shears the current transform. Calls writeTransform(Transform). More...
 
virtual ASPOSE_PAGE_SHARED_API void SetClip (System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath > path)
 Clips shape. PS only allows to intersect the currentClip so this calls clip(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
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 () 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::Drawing::Size get_Size ()
 Returns or specifies a size of the page. More...
 
virtual ASPOSE_PAGE_SHARED_API System::Drawing::Color get_Background ()
 Returns or specifies current background of the page. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_Background (System::Drawing::Color value)
 Returns or specifies current background of the page. More...
 
virtual ASPOSE_PAGE_SHARED_API float get_Opacity ()
 Returns or specifies current opacity. More...
 
virtual ASPOSE_PAGE_SHARED_API void set_Opacity (float value)
 Returns or specifies current opacity. 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< 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...
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< ITrFontget_Font ()
 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...
 
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 ()
 
static ASPOSE_PAGE_SHARED_API System::StringBACKGROUND ()
 
static ASPOSE_PAGE_SHARED_API System::StringBACKGROUND_COLOR ()
 
static ASPOSE_PAGE_SHARED_API System::StringPAGE_SIZE ()
 
static ASPOSE_PAGE_SHARED_API System::StringPAGE_MARGINS ()
 
static ASPOSE_PAGE_SHARED_API System::StringORIENTATION ()
 
static ASPOSE_PAGE_SHARED_API System::StringFIT_TO_PAGE ()
 
static ASPOSE_PAGE_SHARED_API System::StringEMBED_FONTS ()
 
static ASPOSE_PAGE_SHARED_API System::StringEMIT_WARNINGS ()
 
static ASPOSE_PAGE_SHARED_API System::StringEMIT_ERRORS ()
 
- 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::String get_WarningMessage ()
 
 ApsDevice (System::SharedPtr< ApsDevice > device, bool doRestoreOnDispose)
 Cloneconstructor More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteBackground ()
 Writes out current background. More...
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< Aspose::Page::DeviceCopy ()
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< Aspose::Page::DeviceCreate (double x, double y, double width, double height)
 
virtual ASPOSE_PAGE_SHARED_API void WriteGraphicsSave ()
 
virtual ASPOSE_PAGE_SHARED_API void WriteGraphicsRestore ()
 
virtual ASPOSE_PAGE_SHARED_API void WriteTransform (System::SharedPtr< System::Drawing::Drawing2D::Matrix > t)
 Write the given transformation matrix to the file. More...
 
virtual ASPOSE_PAGE_SHARED_API void Clip (System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath > s)
 Clips using given shape. Dispatches to writeClip(Rectangle), writeClip(Rectangle2D) or writeClip(Shape). More...
 
virtual ASPOSE_PAGE_SHARED_API void WriteClip (System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath > s)
 
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 ~ApsDevice ()
 
- 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)
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< LicenseManagement::VentureLicense > GetVentureLicense ()
 

Static Protected Member Functions

static void WriteImage (System::SharedPtr< System::Drawing::Bitmap > image, System::SharedPtr< System::Drawing::Imaging::ImageFormat > format, System::SharedPtr< System::IO::Stream > os)
 
static System::SharedPtr< System::Drawing::Imaging::ImageCodecInfoGetCodec (System::SharedPtr< System::Drawing::Imaging::ImageFormat > format)
 

Protected Attributes

bool doRestoreOnDispose
 
System::SharedPtr< System::Drawing::Drawing2D::MatrixcurrentTransform
 
System::SharedPtr< Aspose::Page::EPS::GraphicsIO::Font::Encoding::CharTable > currentCharTable
 
int32_t currentPageNumber
 
- 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
 

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...
 

Constructor & Destructor Documentation

◆ ApsDevice() [1/3]

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

◆ ApsDevice() [2/3]

ASPOSE_PAGE_SHARED_API Aspose::Page::EPS::Device::ApsDevice::ApsDevice ( System::Drawing::Size  pageSize)

◆ ApsDevice() [3/3]

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

Cloneconstructor

◆ ~ApsDevice()

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

Member Function Documentation

◆ BACKGROUND()

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

◆ BACKGROUND_COLOR()

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

◆ Clip()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::Clip ( System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath s)
protectedvirtual

Clips using given shape. Dispatches to writeClip(Rectangle), writeClip(Rectangle2D) or writeClip(Shape).

Parameters
shapeused for clipping

◆ ClosePage()

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

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

Implements Aspose::Page::IMultiPageDevice.

◆ Copy()

virtual ASPOSE_PAGE_SHARED_API System::SharedPtr<Aspose::Page::Device> Aspose::Page::EPS::Device::ApsDevice::Copy ( )
protectedvirtual

◆ Create() [1/2]

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

Creates a copy of this device.

Returns
Copy of this device.

Reimplemented from Aspose::Page::Device.

◆ Create() [2/2]

virtual ASPOSE_PAGE_SHARED_API System::SharedPtr<Aspose::Page::Device> Aspose::Page::EPS::Device::ApsDevice::Create ( double  x,
double  y,
double  width,
double  height 
)
protectedvirtual

◆ Dispose()

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

Disposes of the graphics context. If on creation restoreOnDispose was true, writeGraphicsRestore() will be called.

Reimplemented from Aspose::Page::Device.

◆ Draw()

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

Draws a path.

Parameters
pathA path to be drawn.

Reimplemented from Aspose::Page::Device.

◆ DrawImage()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::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::ApsDevice::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::ApsDevice::EMBED_FONTS ( )
static

◆ EMIT_ERRORS()

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

◆ EMIT_WARNINGS()

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

◆ EndDocument()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::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::ApsDevice::Fill ( System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath path)
virtual

Fills a path.

Parameters
pathA path to be filled.

Reimplemented from Aspose::Page::Device.

◆ FIT_TO_PAGE()

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

◆ get_CurrentPageNumber()

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

Current page number.

Implements Aspose::Page::IMultiPageDevice.

◆ get_IsDirectRGB()

virtual ASPOSE_PAGE_SHARED_API bool Aspose::Page::EPS::Device::ApsDevice::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_Pages()

ASPOSE_PAGE_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Rendering::ApsPage> > > Aspose::Page::EPS::Device::ApsDevice::get_Pages ( ) const

◆ get_WarningMessage()

System::String Aspose::Page::EPS::Device::ApsDevice::get_WarningMessage ( )
protected

◆ GetCodec()

static System::SharedPtr<System::Drawing::Imaging::ImageCodecInfo> Aspose::Page::EPS::Device::ApsDevice::GetCodec ( System::SharedPtr< System::Drawing::Imaging::ImageFormat format)
staticprotected

◆ GetTransform()

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

Get the current transform.

Returns
current transform

Reimplemented from Aspose::Page::Device.

◆ InitClip()

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

Initializes clip of the device.

Reimplemented from Aspose::Page::Device.

◆ InitPageNumbers()

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

Initializes numbers of pages to output.

Implements Aspose::Page::IMultiPageDevice.

◆ OpenPage() [1/2]

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

Makes necessary preparation of the device before page rendering.

Parameters
titleThe page title.
Returns
True if page is from requested range, otherwise false. Used in devices that can render specified array of page numbers.

Implements Aspose::Page::IMultiPageDevice.

◆ OpenPage() [2/2]

virtual ASPOSE_PAGE_SHARED_API bool Aspose::Page::EPS::Device::ApsDevice::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
Returns true if opened page has a number that falls in a range of selected page numbers and false otherwise.

Implements Aspose::Page::IMultiPageDevice.

◆ ORIENTATION()

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

◆ PAGE_MARGINS()

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

◆ PAGE_SIZE()

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

◆ ReNew()

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

Reset device to initial state for whole document. Used for reseting output stream.

Reimplemented from Aspose::Page::Device.

◆ Reset()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::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::ApsDevice::Rotate ( double  theta)
virtual

Rotate the current transform 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
thetaradians over which to rotate

Reimplemented from Aspose::Page::Device.

◆ Scale()

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

Scales the current transform. Calls writeTransform(Transform).

Parameters
sx, sy amount used for scaling

Reimplemented from Aspose::Page::Device.

◆ set_Font()

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

Draws frame and banner around a string. The method calculates and returns the point to which the text curser should be set before drawing the string.

Clips rectangle. Calls clip(Rectangle2D).

Parameters
x, y, width, height rectangle for clipping

Reimplemented from Aspose::Page::Device.

◆ set_Size()

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

Specifies a size of the page.

Reimplemented from Aspose::Page::Device.

◆ SetClip()

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

Clips shape. PS only allows to intersect the currentClip so this calls clip(Shape).

Parameters
shapeused for clipping

Reimplemented from Aspose::Page::Device.

◆ SetTransform()

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

Specifies current transform.

Parameters
transformA transform.

Reimplemented from Aspose::Page::Device.

◆ Shear()

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

Shears the current transform. Calls writeTransform(Transform).

Parameters
shx, shy amount for shearing

Reimplemented from Aspose::Page::Device.

◆ StartDocument()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::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::ApsDevice::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::ApsDevice::Transform ( System::SharedPtr< System::Drawing::Drawing2D::Matrix transform)
virtual

Transforms the current transform. Calls writeTransform(Transform)

Parameters
transformto be applied

Reimplemented from Aspose::Page::Device.

◆ Translate()

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

Translates the current transform. Calls writeTransform(Transform)

Parameters
x, y amount by which to translate

Reimplemented from Aspose::Page::Device.

◆ TRANSPARENT()

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

◆ UpdatePageParameters()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::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::ApsDevice::WriteBackground ( )
protectedvirtual

Writes out current background.

Reimplemented from Aspose::Page::Device.

◆ WriteCap()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::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.

◆ WriteClip()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::WriteClip ( System::SharedPtr< System::Drawing::Drawing2D::GraphicsPath s)
protectedvirtual

◆ WriteComment()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::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::ApsDevice::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.

◆ WriteGraphicsRestore()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::WriteGraphicsRestore ( )
protectedvirtual

◆ WriteGraphicsSave()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::WriteGraphicsSave ( )
protectedvirtual

◆ WriteImage()

static void Aspose::Page::EPS::Device::ApsDevice::WriteImage ( System::SharedPtr< System::Drawing::Bitmap image,
System::SharedPtr< System::Drawing::Imaging::ImageFormat format,
System::SharedPtr< System::IO::Stream os 
)
staticprotected

◆ WriteJoin()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::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::ApsDevice::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::ApsDevice::WritePaint ( System::SharedPtr< System::Drawing::SolidBrush color)
protectedvirtual

Writes out paint as the given color.

Parameters
colorThe color to be written

Reimplemented from Aspose::Page::Device.

◆ WritePaint() [2/4]

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

Writes out paint as the given gradient.

Parameters
paintThe paint to be written

Reimplemented from Aspose::Page::Device.

◆ WritePaint() [3/4]

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

Writes out paint as the given texture.

Parameters
paintThe paint to be written

Reimplemented from Aspose::Page::Device.

◆ WritePaint() [4/4]

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::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::ApsDevice::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.

◆ WriteTransform()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::WriteTransform ( System::SharedPtr< System::Drawing::Drawing2D::Matrix t)
protectedvirtual

Write the given transformation matrix to the file.

◆ WriteWarning()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::EPS::Device::ApsDevice::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::ApsDevice::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

◆ currentCharTable

System::SharedPtr<Aspose::Page::EPS::GraphicsIO::Font::Encoding::CharTable> Aspose::Page::EPS::Device::ApsDevice::currentCharTable
protected

◆ currentPageNumber

int32_t Aspose::Page::EPS::Device::ApsDevice::currentPageNumber
protected

◆ currentTransform

System::SharedPtr<System::Drawing::Drawing2D::Matrix> Aspose::Page::EPS::Device::ApsDevice::currentTransform
protected

◆ doRestoreOnDispose

bool Aspose::Page::EPS::Device::ApsDevice::doRestoreOnDispose
protected

◆ PRODUCER

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