Aspose::Page::XPS::XpsModel::XpsGlyphs Class Referencefinal

Class incapsulating Glyphs element features. This element represents a run of uniformly-formatted text from a single font. It provides information necessary for accurate rendering and supports search and selection features in viewing consumers. More...

Inherits Aspose::Page::XPS::XpsModel::XpsElement, Aspose::Page::XPS::XpsModel::ITransformableElement, Aspose::Page::XPS::XpsModel::IClippable, and Aspose::Page::XPS::XpsModel::IXpsVisualElement.

Public Member Functions

ASPOSE_PAGE_SHARED_API int32_t get_BidiLevel () const
 Returns/sets the value specifying the Unicode algorithm bidirectional nesting level. Even values imply left-to-right layout, odd values imply right-to-left layout. Right-to-left layout places the run origin at the right side of the first glyph, with positive advance widths (representing advances to the left) placing subsequent glyphs to the left of the previous glyph. More...
 
ASPOSE_PAGE_SHARED_API void set_BidiLevel (int32_t value)
 Returns/sets the value specifying the Unicode algorithm bidirectional nesting level. Even values imply left-to-right layout, odd values imply right-to-left layout. Right-to-left layout places the run origin at the right side of the first glyph, with positive advance widths (representing advances to the left) placing subsequent glyphs to the left of the previous glyph. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsBrushget_Fill ()
 Returns/sets the brush used to fill the shape of the rendered glyphs. More...
 
ASPOSE_PAGE_SHARED_API void set_Fill (System::SharedPtr< XpsBrush > value)
 Returns/sets the brush used to fill the shape of the rendered glyphs. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsFontget_Font () const
 Returns font resource for the TrueType font used to typeset elements text. More...
 
ASPOSE_PAGE_SHARED_API float get_FontRenderingEmSize () const
 Returns/sets the font size in drawing surface units, expressed as a float in units of the effective coordinate space. More...
 
ASPOSE_PAGE_SHARED_API void set_FontRenderingEmSize (float value)
 Returns/sets the font size in drawing surface units, expressed as a float in units of the effective coordinate space. More...
 
ASPOSE_PAGE_SHARED_API float get_OriginX () const
 Returns/sets the x coordinate of the first glyph in the run, in units of the effective coordinate space. More...
 
ASPOSE_PAGE_SHARED_API void set_OriginX (float value)
 Returns/sets the x coordinate of the first glyph in the run, in units of the effective coordinate space. More...
 
ASPOSE_PAGE_SHARED_API float get_OriginY () const
 Returns/sets the y coordinate of the first glyph in the run, in units of the effective coordinate space. More...
 
ASPOSE_PAGE_SHARED_API void set_OriginY (float value)
 Returns/sets the y coordinate of the first glyph in the run, in units of the effective coordinate space. More...
 
ASPOSE_PAGE_SHARED_API bool get_IsSideways () const
 Returns/sets the value indicating that a glyph is turned on its side, with the origin being defined as the top center of the unturned glyph. More...
 
ASPOSE_PAGE_SHARED_API void set_IsSideways (bool value)
 Returns/sets the value indicating that a glyph is turned on its side, with the origin being defined as the top center of the unturned glyph. More...
 
ASPOSE_PAGE_SHARED_API System::String get_UnicodeString () const
 Returns/sets the string of text rendered by the Glyphs element. The text is specified as Unicode code points. More...
 
ASPOSE_PAGE_SHARED_API void set_UnicodeString (System::String value)
 Returns/sets the string of text rendered by the Glyphs element. The text is specified as Unicode code points. More...
 
ASPOSE_PAGE_SHARED_API XpsStyleSimulations get_StyleSimulations () const
 Returns/sets the value specifying a style simulation. More...
 
ASPOSE_PAGE_SHARED_API void set_StyleSimulations (XpsStyleSimulations value)
 Returns/sets the value specifying a style simulation. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsMatrixget_RenderTransform ()
 Returns/sets the affine transformation matrix establishing a new coordinate frame for the glyph run specified by the Glyphs element. The render transform affects clip, opacity mask, fill, x origin, y origin, the actual shape of individual glyphs, and the advance widths. The render transform also affects the font size and values specified in the Indices attribute. More...
 
ASPOSE_PAGE_SHARED_API void set_RenderTransform (System::SharedPtr< XpsMatrix > value)
 Returns/sets the affine transformation matrix establishing a new coordinate frame for the glyph run specified by the Glyphs element. The render transform affects clip, opacity mask, fill, x origin, y origin, the actual shape of individual glyphs, and the advance widths. The render transform also affects the font size and values specified in the Indices attribute. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsPathGeometryget_Clip ()
 Returns/sets the path geometry limitting the rendered region of the element. Only portions of the Glyphs element that fall within the clip region (even partially clipped characters) produce marks on the page. More...
 
ASPOSE_PAGE_SHARED_API void set_Clip (System::SharedPtr< XpsPathGeometry > value)
 Returns/sets the path geometry limitting the rendered region of the element. Only portions of the Glyphs element that fall within the clip region (even partially clipped characters) produce marks on the page. More...
 
ASPOSE_PAGE_SHARED_API float get_Opacity () const
 Returns/sets the value defining the uniform transparency of the glyph element. More...
 
ASPOSE_PAGE_SHARED_API void set_Opacity (float value)
 Returns/sets the value defining the uniform transparency of the glyph element. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsBrushget_OpacityMask ()
 Returns/sets the brush specifying a mask of alpha values that is applied to the glyphs in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element. More...
 
ASPOSE_PAGE_SHARED_API void set_OpacityMask (System::SharedPtr< XpsBrush > value)
 Returns/sets the brush specifying a mask of alpha values that is applied to the glyphs in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsHyperlinkTargetget_HyperlinkTarget () const
 Returns/sets hyperlink target object. More...
 
ASPOSE_PAGE_SHARED_API void set_HyperlinkTarget (System::SharedPtr< XpsHyperlinkTarget > value)
 Returns/sets hyperlink target object. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsGlyphsClone ()
 Clone this glyphs. More...
 
- Public Member Functions inherited from Aspose::Page::XPS::XpsModel::XpsElement
ASPOSE_PAGE_SHARED_API int32_t get_Count ()
 Returns number of child elements. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsElementidx_get (int32_t i)
 Provides access to element's children by index i . More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< XpsElement > > > GetEnumerator ()
 Implementation of System::Collections::Generic::IEnumerable<XpsElement> interface. More...
 
- Public Member Functions inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsElement > >
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsElementLINQ_ElementAt (int index)
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsElementLINQ_First ()
 
System::SharedPtr< Collections::Generic::List< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsElement > > > LINQ_ToList ()
 
int LINQ_Count ()
 
System::ArrayPtr< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsElement > > LINQ_ToArray ()
 
- 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 String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. 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)
 

Protected Member Functions

ASPOSE_PAGE_SHARED_API void set_Font (System::SharedPtr< XpsFont > value)
 Returns font resource for the TrueType font used to typeset elements text. More...
 
System::String get_FontUri () const
 
void set_FontUri (System::String value)
 
System::SharedPtr< System::Collections::Generic::SortedList< int32_t, System::SharedPtr< XpsGlyphMapping > > > get_Indices ()
 
void set_Indices (System::SharedPtr< System::Collections::Generic::SortedList< int32_t, System::SharedPtr< XpsGlyphMapping >>> value)
 
 XpsGlyphs (System::SharedPtr< XpsContext > context, System::String fontFamily, float fontRenderingEmSize, System::Drawing::FontStyle fontStyle, float originX, float originY, System::String unicodeString)
 
 XpsGlyphs (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsFont > font, float fontRenderingEmSize, float originX, float originY, System::String unicodeString)
 
 XpsGlyphs (System::SharedPtr< System::Xml::XmlElement > element, System::SharedPtr< XpsElement > parent)
 
 XpsGlyphs (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsFont > font)
 
virtual ASPOSE_PAGE_SHARED_API void Initialize (System::SharedPtr< System::Xml::XmlElement > element)
 
virtual ASPOSE_PAGE_SHARED_API void Accept (System::SharedPtr< XpsDocumentVisitor > visitor)
 
virtual ASPOSE_PAGE_SHARED_API void AcceptProperties (System::SharedPtr< XpsDocumentVisitor > visitor)
 
virtual ASPOSE_PAGE_SHARED_API void ForcePropertyValueReferencesUpdate (System::SharedPtr< XpsElement > parent, bool add=true)
 
virtual ASPOSE_PAGE_SHARED_API void ForceRegisterForPreprocessing (bool add=true)
 
void InitIndices (System::String indices)
 
System::String IndicesToString ()
 
virtual ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsElementClone (bool deep, System::SharedPtr< XpsContext > context, System::SharedPtr< XpsElement > parent, int32_t index)
 
virtual ASPOSE_PAGE_SHARED_API void CopyPropertyValues (System::SharedPtr< XpsElement > element)
 
virtual ASPOSE_PAGE_SHARED_API void ClonePropertyValues (System::SharedPtr< XpsElement > element)
 
virtual ASPOSE_PAGE_SHARED_API void CopySimplePropertyValues (System::SharedPtr< XpsElement > element)
 
virtual ASPOSE_PAGE_SHARED_API ~XpsGlyphs ()
 
- Protected Member Functions inherited from Aspose::Page::XPS::XpsModel::XpsElement
int32_t get_Id () const
 
System::SharedPtr< XpsElementget_Parent () const
 
void set_Parent (System::SharedPtr< XpsElement > value)
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsElement > > > get_Owners ()
 
System::String get_xKey () const
 
void set_xKey (System::String value)
 
 XpsElement (System::SharedPtr< XpsContext > context)
 
virtual ASPOSE_PAGE_SHARED_API void UpdatePropertyValueReferences (System::SharedPtr< XpsElement > propertyValue, bool add=true)
 
virtual ASPOSE_PAGE_SHARED_API void RegisterForPreprocessing (System::SharedPtr< XpsElement > element, RegistrationType regType, bool add=true)
 
void RegisterLinks (System::SharedPtr< XpsHyperlinkTarget > linkTarget)
 
virtual ASPOSE_PAGE_SHARED_API void ForceRegisterForPreprocessingPV (bool add=true)
 
virtual ASPOSE_PAGE_SHARED_API void RegisterForPreprocessingPV (System::SharedPtr< XpsElement > element, RegistrationType regType, bool add=true)
 
System::SharedPtr< XpsElementAdd (System::SharedPtr< XpsElement > element)
 
System::SharedPtr< XpsElementAddReference (System::SharedPtr< XpsElement > element)
 
System::SharedPtr< XpsElementRemove (System::SharedPtr< XpsElement > element)
 
System::SharedPtr< XpsElementRemoveReference (System::SharedPtr< XpsElement > element)
 
System::SharedPtr< XpsElementInsert (int32_t index, System::SharedPtr< XpsElement > element)
 
System::SharedPtr< XpsElementInsertReference (int32_t index, System::SharedPtr< XpsElement > element)
 
System::SharedPtr< XpsElementRemoveAt (int32_t index)
 
System::SharedPtr< XpsElementRemoveReferenceAt (int32_t index, System::SharedPtr< XpsElement > element)
 
void CloneChildren (System::SharedPtr< XpsElement > element, bool deep=true)
 Clones all the children of element and add them to this element. More...
 
System::SharedPtr< XpsCanvasCreateCanvas (System::SharedPtr< XpsContext > context)
 
System::SharedPtr< XpsPathCreatePath (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsPathGeometry > data)
 
System::SharedPtr< XpsGlyphsCreateGlyphs (System::SharedPtr< XpsContext > context, System::String fontFamily, float fontRenderingEmSize, System::Drawing::FontStyle fontStyle, float originX, float originY, System::String unicodeString)
 
System::SharedPtr< XpsGlyphsCreateGlyphs (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsFont > font, float fontRenderingEmSize, float originX, float originY, System::String unicodeString)
 
System::SharedPtr< XpsMatrixCreateMatrix (System::SharedPtr< XpsContext > context, float m11, float m12, float m21, float m22, float m31, float m32)
 
System::SharedPtr< XpsPathGeometryCreatePathGeometry (System::SharedPtr< XpsContext > context)
 
System::SharedPtr< XpsPathGeometryCreatePathGeometry (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsList< System::SharedPtr< XpsPathFigure >>> pathFigures)
 
System::SharedPtr< XpsPathGeometryCreatePathGeometry (System::SharedPtr< XpsContext > context, System::String abbreviatedGeometry)
 
System::SharedPtr< XpsPathFigureCreatePathFigure (System::SharedPtr< XpsContext > context, System::Drawing::PointF startPoint, bool isClosed=false)
 
System::SharedPtr< XpsPathFigureCreatePathFigure (System::SharedPtr< XpsContext > context, System::Drawing::PointF startPoint, System::SharedPtr< XpsList< System::SharedPtr< XpsPathSegment >>> segments, bool isClosed=false)
 
System::SharedPtr< XpsArcSegmentCreateArcSegment (System::SharedPtr< XpsContext > context, System::Drawing::PointF point, System::Drawing::SizeF size, float rotationAngle, bool isLargeArc, XpsSweepDirection sweepDirection, bool isStroked=true)
 
System::SharedPtr< XpsPolyLineSegmentCreatePolyLineSegment (System::SharedPtr< XpsContext > context, System::ArrayPtr< System::Drawing::PointF > points, bool isStroked=true)
 
System::SharedPtr< XpsPolyBezierSegmentCreatePolyBezierSegment (System::SharedPtr< XpsContext > context, System::ArrayPtr< System::Drawing::PointF > points, bool isStroked=true)
 
System::SharedPtr< XpsPolyQuadraticBezierSegmentCreatePolyQuadraticBezierSegment (System::SharedPtr< XpsContext > context, System::ArrayPtr< System::Drawing::PointF > points, bool isStroked=true)
 
System::SharedPtr< XpsSolidColorBrushCreateSolidColorBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsColor > color)
 
System::SharedPtr< XpsSolidColorBrushCreateSolidColorBrush (System::SharedPtr< XpsContext > context, System::Drawing::Color color)
 
System::SharedPtr< XpsGradientStopCreateGradientStop (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsColor > color, float offset)
 
System::SharedPtr< XpsGradientStopCreateGradientStop (System::SharedPtr< XpsContext > context, System::Drawing::Color color, float offset)
 
System::SharedPtr< XpsLinearGradientBrushCreateLinearGradientBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsGradientStop >>> gradientStops, System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
 
System::SharedPtr< XpsLinearGradientBrushCreateLinearGradientBrush (System::SharedPtr< XpsContext > context, System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
 
System::SharedPtr< XpsRadialGradientBrushCreateRadialGradientBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsGradientStop >>> gradientStops, System::Drawing::PointF center, System::Drawing::PointF gradientOrigin, float radiusX, float radiusY)
 
System::SharedPtr< XpsRadialGradientBrushCreateRadialGradientBrush (System::SharedPtr< XpsContext > context, System::Drawing::PointF center, System::Drawing::PointF gradientOrigin, float radiusX, float radiusY)
 
System::SharedPtr< XpsVisualBrushCreateVisualBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsCanvas > canvas, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
 
System::SharedPtr< XpsVisualBrushCreateVisualBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsPath > path, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
 
System::SharedPtr< XpsVisualBrushCreateVisualBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsGlyphs > glyphs, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
 
System::SharedPtr< XpsImageBrushCreateImageBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsImage > image, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
 
System::SharedPtr< XpsImageBrushCreateImageBrush (System::SharedPtr< XpsContext > context, System::String imagePath, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
 
System::SharedPtr< XpsColorCreateColor (System::Drawing::Color color)
 
System::SharedPtr< XpsColorCreateColor (int32_t a, int32_t r, int32_t g, int32_t b)
 
System::SharedPtr< XpsColorCreateColor (int32_t r, int32_t g, int32_t b)
 
System::SharedPtr< XpsColorCreateColor (float a, float r, float g, float b)
 
System::SharedPtr< XpsColorCreateColor (float r, float g, float b)
 
System::SharedPtr< XpsColorCreateColor (System::SharedPtr< XpsContext > context, System::String path, const System::ArrayPtr< float > &components)
 
System::SharedPtr< XpsColorCreateColor (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsIccProfile > iccProfile, const System::ArrayPtr< float > &components)
 
System::SharedPtr< XpsImageCreateImage (System::SharedPtr< XpsContext > context, System::String imagePath)
 
System::SharedPtr< XpsImageCreateImage (System::SharedPtr< XpsContext > context, System::SharedPtr< System::IO::Stream > stream)
 
System::SharedPtr< XpsIccProfileCreateIccProfile (System::SharedPtr< XpsContext > context, System::String iccProfilePath)
 
System::SharedPtr< XpsIccProfileCreateIccProfile (System::SharedPtr< XpsContext > context, System::SharedPtr< System::IO::Stream > stream)
 
System::SharedPtr< XpsFontCreateFont (System::SharedPtr< XpsContext > context, System::String fontFamily, System::Drawing::FontStyle fontStyle)
 
System::SharedPtr< XpsFontCreateFont (System::SharedPtr< XpsContext > context, System::SharedPtr< System::IO::Stream > stream)
 
void Accept (System::SharedPtr< XpsTreeVisitor > visitor, System::SharedPtr< System::Xml::XmlElement > element)
 
virtual ASPOSE_PAGE_SHARED_API ~XpsElement ()
 
- Protected Member Functions inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsElement > >
 ~IEnumerable () override
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsElement > >
typedef IEnumerator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsElement > > IEnumeratorType
 Enumerator type. More...
 
- 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...
 
- 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...
 
- Protected Attributes inherited from Aspose::Page::XPS::XpsModel::XpsElement
XpsElementType _elementType
 
System::WeakPtr< XpsContext > _context
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsElement > > > _owners
 
System::SharedPtr< XpsList< System::SharedPtr< XpsElement > > > _children
 
System::String _xKey
 
System::String _name
 
System::SharedPtr< XpsProperty< System::SharedPtr< XpsMatrix > > > _renderTransform
 
System::SharedPtr< XpsProperty< System::SharedPtr< XpsPathGeometry > > > _clip
 
System::SharedPtr< XpsHyperlinkTarget_linkTarget
 

Detailed Description

Class incapsulating Glyphs element features. This element represents a run of uniformly-formatted text from a single font. It provides information necessary for accurate rendering and supports search and selection features in viewing consumers.

Constructor & Destructor Documentation

◆ XpsGlyphs() [1/4]

Aspose::Page::XPS::XpsModel::XpsGlyphs::XpsGlyphs ( System::SharedPtr< XpsContext >  context,
System::String  fontFamily,
float  fontRenderingEmSize,
System::Drawing::FontStyle  fontStyle,
float  originX,
float  originY,
System::String  unicodeString 
)
protected

◆ XpsGlyphs() [2/4]

Aspose::Page::XPS::XpsModel::XpsGlyphs::XpsGlyphs ( System::SharedPtr< XpsContext >  context,
System::SharedPtr< XpsFont font,
float  fontRenderingEmSize,
float  originX,
float  originY,
System::String  unicodeString 
)
protected

◆ XpsGlyphs() [3/4]

Aspose::Page::XPS::XpsModel::XpsGlyphs::XpsGlyphs ( System::SharedPtr< System::Xml::XmlElement element,
System::SharedPtr< XpsElement parent 
)
protected

◆ XpsGlyphs() [4/4]

Aspose::Page::XPS::XpsModel::XpsGlyphs::XpsGlyphs ( System::SharedPtr< XpsContext >  context,
System::SharedPtr< XpsFont font 
)
protected

◆ ~XpsGlyphs()

virtual ASPOSE_PAGE_SHARED_API Aspose::Page::XPS::XpsModel::XpsGlyphs::~XpsGlyphs ( )
protectedvirtual

Member Function Documentation

◆ Accept()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::Accept ( System::SharedPtr< XpsDocumentVisitor visitor)
protectedvirtual

◆ AcceptProperties()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::AcceptProperties ( System::SharedPtr< XpsDocumentVisitor visitor)
protectedvirtual

◆ Clone() [1/2]

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsGlyphs> Aspose::Page::XPS::XpsModel::XpsGlyphs::Clone ( )

Clone this glyphs.

Returns
Clone of this glyphs.

◆ Clone() [2/2]

virtual ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsElement> Aspose::Page::XPS::XpsModel::XpsGlyphs::Clone ( bool  deep,
System::SharedPtr< XpsContext >  context,
System::SharedPtr< XpsElement parent,
int32_t  index 
)
protectedvirtual

◆ ClonePropertyValues()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::ClonePropertyValues ( System::SharedPtr< XpsElement element)
protectedvirtual

◆ CopyPropertyValues()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::CopyPropertyValues ( System::SharedPtr< XpsElement element)
protectedvirtual

◆ CopySimplePropertyValues()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::CopySimplePropertyValues ( System::SharedPtr< XpsElement element)
protectedvirtual

◆ ForcePropertyValueReferencesUpdate()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::ForcePropertyValueReferencesUpdate ( System::SharedPtr< XpsElement parent,
bool  add = true 
)
protectedvirtual

◆ ForceRegisterForPreprocessing()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::ForceRegisterForPreprocessing ( bool  add = true)
protectedvirtual

◆ get_BidiLevel()

ASPOSE_PAGE_SHARED_API int32_t Aspose::Page::XPS::XpsModel::XpsGlyphs::get_BidiLevel ( ) const

Returns/sets the value specifying the Unicode algorithm bidirectional nesting level. Even values imply left-to-right layout, odd values imply right-to-left layout. Right-to-left layout places the run origin at the right side of the first glyph, with positive advance widths (representing advances to the left) placing subsequent glyphs to the left of the previous glyph.

◆ get_Clip()

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsPathGeometry> Aspose::Page::XPS::XpsModel::XpsGlyphs::get_Clip ( )
virtual

Returns/sets the path geometry limitting the rendered region of the element. Only portions of the Glyphs element that fall within the clip region (even partially clipped characters) produce marks on the page.

Implements Aspose::Page::XPS::XpsModel::IClippable.

◆ get_Fill()

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsBrush> Aspose::Page::XPS::XpsModel::XpsGlyphs::get_Fill ( )

Returns/sets the brush used to fill the shape of the rendered glyphs.

◆ get_Font()

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsFont> Aspose::Page::XPS::XpsModel::XpsGlyphs::get_Font ( ) const

Returns font resource for the TrueType font used to typeset elements text.

◆ get_FontRenderingEmSize()

ASPOSE_PAGE_SHARED_API float Aspose::Page::XPS::XpsModel::XpsGlyphs::get_FontRenderingEmSize ( ) const

Returns/sets the font size in drawing surface units, expressed as a float in units of the effective coordinate space.

◆ get_FontUri()

System::String Aspose::Page::XPS::XpsModel::XpsGlyphs::get_FontUri ( ) const
protected

◆ get_HyperlinkTarget()

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsHyperlinkTarget> Aspose::Page::XPS::XpsModel::XpsGlyphs::get_HyperlinkTarget ( ) const

Returns/sets hyperlink target object.

◆ get_Indices()

System::SharedPtr<System::Collections::Generic::SortedList<int32_t, System::SharedPtr<XpsGlyphMapping> > > Aspose::Page::XPS::XpsModel::XpsGlyphs::get_Indices ( )
protected

◆ get_IsSideways()

ASPOSE_PAGE_SHARED_API bool Aspose::Page::XPS::XpsModel::XpsGlyphs::get_IsSideways ( ) const

Returns/sets the value indicating that a glyph is turned on its side, with the origin being defined as the top center of the unturned glyph.

◆ get_Opacity()

ASPOSE_PAGE_SHARED_API float Aspose::Page::XPS::XpsModel::XpsGlyphs::get_Opacity ( ) const

Returns/sets the value defining the uniform transparency of the glyph element.

◆ get_OpacityMask()

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsBrush> Aspose::Page::XPS::XpsModel::XpsGlyphs::get_OpacityMask ( )

Returns/sets the brush specifying a mask of alpha values that is applied to the glyphs in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element.

◆ get_OriginX()

ASPOSE_PAGE_SHARED_API float Aspose::Page::XPS::XpsModel::XpsGlyphs::get_OriginX ( ) const

Returns/sets the x coordinate of the first glyph in the run, in units of the effective coordinate space.

◆ get_OriginY()

ASPOSE_PAGE_SHARED_API float Aspose::Page::XPS::XpsModel::XpsGlyphs::get_OriginY ( ) const

Returns/sets the y coordinate of the first glyph in the run, in units of the effective coordinate space.

◆ get_RenderTransform()

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsMatrix> Aspose::Page::XPS::XpsModel::XpsGlyphs::get_RenderTransform ( )
virtual

Returns/sets the affine transformation matrix establishing a new coordinate frame for the glyph run specified by the Glyphs element. The render transform affects clip, opacity mask, fill, x origin, y origin, the actual shape of individual glyphs, and the advance widths. The render transform also affects the font size and values specified in the Indices attribute.

Implements Aspose::Page::XPS::XpsModel::ITransformableElement.

◆ get_StyleSimulations()

ASPOSE_PAGE_SHARED_API XpsStyleSimulations Aspose::Page::XPS::XpsModel::XpsGlyphs::get_StyleSimulations ( ) const

Returns/sets the value specifying a style simulation.

◆ get_UnicodeString()

ASPOSE_PAGE_SHARED_API System::String Aspose::Page::XPS::XpsModel::XpsGlyphs::get_UnicodeString ( ) const

Returns/sets the string of text rendered by the Glyphs element. The text is specified as Unicode code points.

◆ IndicesToString()

System::String Aspose::Page::XPS::XpsModel::XpsGlyphs::IndicesToString ( )
protected

◆ Initialize()

virtual ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::Initialize ( System::SharedPtr< System::Xml::XmlElement element)
protectedvirtual

◆ InitIndices()

void Aspose::Page::XPS::XpsModel::XpsGlyphs::InitIndices ( System::String  indices)
protected

◆ set_BidiLevel()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_BidiLevel ( int32_t  value)

Returns/sets the value specifying the Unicode algorithm bidirectional nesting level. Even values imply left-to-right layout, odd values imply right-to-left layout. Right-to-left layout places the run origin at the right side of the first glyph, with positive advance widths (representing advances to the left) placing subsequent glyphs to the left of the previous glyph.

◆ set_Clip()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_Clip ( System::SharedPtr< XpsPathGeometry value)
virtual

Returns/sets the path geometry limitting the rendered region of the element. Only portions of the Glyphs element that fall within the clip region (even partially clipped characters) produce marks on the page.

Implements Aspose::Page::XPS::XpsModel::IClippable.

◆ set_Fill()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_Fill ( System::SharedPtr< XpsBrush value)

Returns/sets the brush used to fill the shape of the rendered glyphs.

◆ set_Font()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_Font ( System::SharedPtr< XpsFont value)
protected

Returns font resource for the TrueType font used to typeset elements text.

◆ set_FontRenderingEmSize()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_FontRenderingEmSize ( float  value)

Returns/sets the font size in drawing surface units, expressed as a float in units of the effective coordinate space.

◆ set_FontUri()

void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_FontUri ( System::String  value)
protected

◆ set_HyperlinkTarget()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_HyperlinkTarget ( System::SharedPtr< XpsHyperlinkTarget value)

Returns/sets hyperlink target object.

◆ set_Indices()

void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_Indices ( System::SharedPtr< System::Collections::Generic::SortedList< int32_t, System::SharedPtr< XpsGlyphMapping >>>  value)
protected

◆ set_IsSideways()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_IsSideways ( bool  value)

Returns/sets the value indicating that a glyph is turned on its side, with the origin being defined as the top center of the unturned glyph.

◆ set_Opacity()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_Opacity ( float  value)

Returns/sets the value defining the uniform transparency of the glyph element.

◆ set_OpacityMask()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_OpacityMask ( System::SharedPtr< XpsBrush value)

Returns/sets the brush specifying a mask of alpha values that is applied to the glyphs in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element.

◆ set_OriginX()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_OriginX ( float  value)

Returns/sets the x coordinate of the first glyph in the run, in units of the effective coordinate space.

◆ set_OriginY()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_OriginY ( float  value)

Returns/sets the y coordinate of the first glyph in the run, in units of the effective coordinate space.

◆ set_RenderTransform()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_RenderTransform ( System::SharedPtr< XpsMatrix value)
virtual

Returns/sets the affine transformation matrix establishing a new coordinate frame for the glyph run specified by the Glyphs element. The render transform affects clip, opacity mask, fill, x origin, y origin, the actual shape of individual glyphs, and the advance widths. The render transform also affects the font size and values specified in the Indices attribute.

Implements Aspose::Page::XPS::XpsModel::ITransformableElement.

◆ set_StyleSimulations()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_StyleSimulations ( XpsStyleSimulations  value)

Returns/sets the value specifying a style simulation.

◆ set_UnicodeString()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsGlyphs::set_UnicodeString ( System::String  value)

Returns/sets the string of text rendered by the Glyphs element. The text is specified as Unicode code points.