Aspose::Page::XPS::XpsModel::XpsElement Class Referenceabstract

Class incapsulating common XPS element features. More...

Inherits Aspose::Page::XPS::XpsModel::XpsObject, and System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >.

Inherited by Aspose::Page::XPS::XpsModel::XpsHyperlinkElement, and Aspose::Page::XPS::XpsModel::XpsPage.

Public Member Functions

ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsElementget_Parent () const
 
ASPOSE_PAGE_SHARED_API void set_Parent (System::SharedPtr< XpsElement > value)
 
ASPOSE_PAGE_SHARED_API int32_t get_Count ()
 Returns number of child elements. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsContentElementidx_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< XpsContentElement > > > GetEnumerator () override
 Implementation of System::Collections::Generic::IEnumerable<XpsContentElement> interface. More...
 
ASPOSE_PAGE_SHARED_API void cpp_set_parent_weak ()
 
ASPOSE_PAGE_SHARED_API void cpp_set_parent_shared ()
 
ASPOSE_PAGE_SHARED_API void SetTemplateWeakPtr (unsigned int argument) override
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
- Public Member Functions inherited from Aspose::Page::XPS::XpsModel::XpsObject
ASPOSE_PAGE_SHARED_API void AssertObject ()
 
- 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 int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () 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...
 
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)
 
- Public Member Functions inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_ElementAt (int index)
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_First ()
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_First (const Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, bool > &predicate)
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_FirstOrDefault ()
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_FirstOrDefault (std::function< bool(System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >)> predicate)
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_Last ()
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_LastOrDefault ()
 
SharedPtr< List< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > LINQ_ToList ()
 
int LINQ_Count ()
 
int LINQ_Count (const Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, bool > &predicate)
 
System::ArrayPtr< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > LINQ_ToArray ()
 
bool LINQ_All (std::function< bool(System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >)> predicate)
 
bool LINQ_Any ()
 
bool LINQ_Any (std::function< bool(System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >)> predicate)
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > LINQ_Where (std::function< bool(System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >)> predicate)
 
bool LINQ_Contains (System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > value)
 
SharedPtr< IEnumerable< ResultType > > LINQ_Cast ()
 
SharedPtr< IEnumerable< Result > > LINQ_Cast ()
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > LINQ_OrderBy (const Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, Key > &keySelector)
 
SharedPtr< IEnumerable< Source > > LINQ_OrderBy (const Func< Source, Key > &keySelector)
 
SharedPtr< IEnumerable< ResultType > > LINQ_OfType ()
 
SharedPtr< IEnumerable< Result > > LINQ_OfType ()
 
SharedPtr< IEnumerable< ResultType > > LINQ_Select (const Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, ResultType > &selector)
 
SharedPtr< IEnumerable< Result > > LINQ_Select (const Func< Source, Result > &selector)
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > LINQ_Concat (SharedPtr< IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >> sequesnce)
 
EnumeratorBasedIterator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, IEnumerator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > begin () noexcept
 
EnumeratorBasedIterator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, IEnumerator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > end () noexcept
 
EnumeratorBasedIterator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, IEnumerator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > cbegin () noexcept
 
EnumeratorBasedIterator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, IEnumerator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > cend () noexcept
 

Protected Member Functions

 XpsElement (System::SharedPtr< XpsContext > context)
 
ASPOSE_PAGE_SHARED_API void Initialize (System::SharedPtr< System::Xml::XmlElement > element) override
 
virtual ASPOSE_PAGE_SHARED_API void ForcePropertyValueReferencesUpdate (System::SharedPtr< XpsElement > parent, bool add=true)
 
virtual ASPOSE_PAGE_SHARED_API void UpdatePropertyValueReferences (System::SharedPtr< XpsElement > propertyValue, bool add=true)
 
ASPOSE_PAGE_SHARED_API void ForceRegisterForPreprocessing (bool add=true) override
 
ASPOSE_PAGE_SHARED_API void RegisterForPreprocessing (System::SharedPtr< XpsElement > element, RegistrationType regType, bool add=true) override
 
template<typename T >
Add (T element)
 
template<typename T >
AddReference (T element)
 
template<typename T >
Remove (T element)
 
template<typename T >
RemoveReference (T element)
 
template<typename T >
Insert (int32_t index, T element)
 
template<typename T >
InsertReference (int32_t index, T element)
 
System::SharedPtr< XpsContentElementRemoveAt (int32_t index)
 
System::SharedPtr< XpsContentElementRemoveReferenceAt (int32_t index, System::SharedPtr< XpsContentElement > 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< System::Collections::Generic::List< 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< System::Collections::Generic::List< 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::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< XpsContentElement > element, 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)
 
virtual System::SharedPtr< XpsElementClone (bool deep, System::SharedPtr< XpsContext > context, System::SharedPtr< XpsElement > parent, int32_t index)=0
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsObjectClone (bool deep, System::SharedPtr< XpsContext > context) override
 
void Accept (System::SharedPtr< XpsTreeVisitor > visitor, System::SharedPtr< System::Xml::XmlElement > element)
 
ASPOSE_PAGE_SHARED_API void Accept (System::SharedPtr< XpsDocumentVisitor > visitor) override
 
ASPOSE_PAGE_SHARED_API void AcceptProperties (System::SharedPtr< XpsDocumentVisitor > visitor) override
 
ASPOSE_PAGE_SHARED_API void Dispose () override
 
virtual ASPOSE_PAGE_SHARED_API ~XpsElement ()
 
- Protected Member Functions inherited from Aspose::Page::XPS::XpsModel::XpsObject
int32_t get_Id () const
 
System::String get_xKey () const
 
void set_xKey (System::String value)
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsObject > > > get_Owners ()
 
 XpsObject (System::SharedPtr< XpsContext > context)
 
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)
 
virtual ASPOSE_PAGE_SHARED_API void CopyPropertyValues (System::SharedPtr< XpsObject > obj)
 
virtual ASPOSE_PAGE_SHARED_API void ClonePropertyValues (System::SharedPtr< XpsObject > obj)
 
virtual void CopySimplePropertyValues (System::SharedPtr< XpsObject > obj)=0
 
- Protected Member Functions inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >
 ~IEnumerable () override
 Destructor. More...
 

Protected Attributes

XpsElementType _elementType
 
System::String _name
 
- Protected Attributes inherited from Aspose::Page::XPS::XpsModel::XpsObject
System::WeakPtr< XpsContext_context
 
System::DynamicWeakPtr< System::Collections::Generic::List< System::SharedPtr< XpsObject > >, System::SmartPtrMode::Shared, 0 > _owners
 
System::String _xKey
 

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...
 
- Public Types inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >
typedef IEnumerator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > IEnumeratorType
 Enumerator type. More...
 
using ValueType = System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >
 
- 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...
 

Detailed Description

Class incapsulating common XPS element features.

Constructor & Destructor Documentation

◆ XpsElement()

Aspose::Page::XPS::XpsModel::XpsElement::XpsElement ( System::SharedPtr< XpsContext context)
protected

◆ ~XpsElement()

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

Member Function Documentation

◆ Accept() [1/2]

void Aspose::Page::XPS::XpsModel::XpsElement::Accept ( System::SharedPtr< XpsTreeVisitor >  visitor,
System::SharedPtr< System::Xml::XmlElement element 
)
protected

◆ Accept() [2/2]

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsElement::Accept ( System::SharedPtr< XpsDocumentVisitor visitor)
overrideprotectedvirtual

◆ AcceptProperties()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsElement::AcceptProperties ( System::SharedPtr< XpsDocumentVisitor visitor)
overrideprotectedvirtual

◆ Add()

template<typename T >
T Aspose::Page::XPS::XpsModel::XpsElement::Add ( element)
inlineprotected

◆ AddReference()

template<typename T >
T Aspose::Page::XPS::XpsModel::XpsElement::AddReference ( element)
inlineprotected

◆ Clone() [1/2]

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

◆ Clone() [2/2]

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsObject> Aspose::Page::XPS::XpsModel::XpsElement::Clone ( bool  deep,
System::SharedPtr< XpsContext context 
)
overrideprotectedvirtual

◆ CloneChildren()

void Aspose::Page::XPS::XpsModel::XpsElement::CloneChildren ( System::SharedPtr< XpsElement element,
bool  deep = true 
)
protected

Clones all the children of element and add them to this element.

Parameters
elementAn element whose children are to be cloned.
deepFlag indicating if a deep clone must be made.

◆ cpp_set_parent_shared()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsElement::cpp_set_parent_shared ( )

◆ cpp_set_parent_weak()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsElement::cpp_set_parent_weak ( )

◆ CreateArcSegment()

System::SharedPtr<XpsArcSegment> Aspose::Page::XPS::XpsModel::XpsElement::CreateArcSegment ( System::SharedPtr< XpsContext context,
System::Drawing::PointF  point,
System::Drawing::SizeF  size,
float  rotationAngle,
bool  isLargeArc,
XpsSweepDirection  sweepDirection,
bool  isStroked = true 
)
protected

◆ CreateCanvas()

System::SharedPtr<XpsCanvas> Aspose::Page::XPS::XpsModel::XpsElement::CreateCanvas ( System::SharedPtr< XpsContext context)
protected

◆ CreateColor() [1/7]

System::SharedPtr<XpsColor> Aspose::Page::XPS::XpsModel::XpsElement::CreateColor ( System::Drawing::Color  color)
protected

◆ CreateColor() [2/7]

System::SharedPtr<XpsColor> Aspose::Page::XPS::XpsModel::XpsElement::CreateColor ( int32_t  a,
int32_t  r,
int32_t  g,
int32_t  b 
)
protected

◆ CreateColor() [3/7]

System::SharedPtr<XpsColor> Aspose::Page::XPS::XpsModel::XpsElement::CreateColor ( int32_t  r,
int32_t  g,
int32_t  b 
)
protected

◆ CreateColor() [4/7]

System::SharedPtr<XpsColor> Aspose::Page::XPS::XpsModel::XpsElement::CreateColor ( float  a,
float  r,
float  g,
float  b 
)
protected

◆ CreateColor() [5/7]

System::SharedPtr<XpsColor> Aspose::Page::XPS::XpsModel::XpsElement::CreateColor ( float  r,
float  g,
float  b 
)
protected

◆ CreateColor() [6/7]

System::SharedPtr<XpsColor> Aspose::Page::XPS::XpsModel::XpsElement::CreateColor ( System::SharedPtr< XpsContext context,
System::String  path,
const System::ArrayPtr< float > &  components 
)
protected

◆ CreateColor() [7/7]

System::SharedPtr<XpsColor> Aspose::Page::XPS::XpsModel::XpsElement::CreateColor ( System::SharedPtr< XpsContext context,
System::SharedPtr< XpsIccProfile iccProfile,
const System::ArrayPtr< float > &  components 
)
protected

◆ CreateFont() [1/2]

System::SharedPtr<XpsFont> Aspose::Page::XPS::XpsModel::XpsElement::CreateFont ( System::SharedPtr< XpsContext context,
System::String  fontFamily,
System::Drawing::FontStyle  fontStyle 
)
protected

◆ CreateFont() [2/2]

System::SharedPtr<XpsFont> Aspose::Page::XPS::XpsModel::XpsElement::CreateFont ( System::SharedPtr< XpsContext context,
System::SharedPtr< System::IO::Stream stream 
)
protected

◆ CreateGlyphs() [1/2]

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

◆ CreateGlyphs() [2/2]

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

◆ CreateGradientStop() [1/2]

System::SharedPtr<XpsGradientStop> Aspose::Page::XPS::XpsModel::XpsElement::CreateGradientStop ( System::SharedPtr< XpsContext context,
System::SharedPtr< XpsColor color,
float  offset 
)
protected

◆ CreateGradientStop() [2/2]

System::SharedPtr<XpsGradientStop> Aspose::Page::XPS::XpsModel::XpsElement::CreateGradientStop ( System::Drawing::Color  color,
float  offset 
)
protected

◆ CreateIccProfile() [1/2]

System::SharedPtr<XpsIccProfile> Aspose::Page::XPS::XpsModel::XpsElement::CreateIccProfile ( System::SharedPtr< XpsContext context,
System::String  iccProfilePath 
)
protected

◆ CreateIccProfile() [2/2]

System::SharedPtr<XpsIccProfile> Aspose::Page::XPS::XpsModel::XpsElement::CreateIccProfile ( System::SharedPtr< XpsContext context,
System::SharedPtr< System::IO::Stream stream 
)
protected

◆ CreateImage() [1/2]

System::SharedPtr<XpsImage> Aspose::Page::XPS::XpsModel::XpsElement::CreateImage ( System::SharedPtr< XpsContext context,
System::String  imagePath 
)
protected

◆ CreateImage() [2/2]

System::SharedPtr<XpsImage> Aspose::Page::XPS::XpsModel::XpsElement::CreateImage ( System::SharedPtr< XpsContext context,
System::SharedPtr< System::IO::Stream stream 
)
protected

◆ CreateImageBrush() [1/2]

System::SharedPtr<XpsImageBrush> Aspose::Page::XPS::XpsModel::XpsElement::CreateImageBrush ( System::SharedPtr< XpsContext context,
System::SharedPtr< XpsImage image,
System::Drawing::RectangleF  viewbox,
System::Drawing::RectangleF  viewport 
)
protected

◆ CreateImageBrush() [2/2]

System::SharedPtr<XpsImageBrush> Aspose::Page::XPS::XpsModel::XpsElement::CreateImageBrush ( System::SharedPtr< XpsContext context,
System::String  imagePath,
System::Drawing::RectangleF  viewbox,
System::Drawing::RectangleF  viewport 
)
protected

◆ CreateLinearGradientBrush() [1/2]

System::SharedPtr<XpsLinearGradientBrush> Aspose::Page::XPS::XpsModel::XpsElement::CreateLinearGradientBrush ( System::SharedPtr< XpsContext context,
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsGradientStop >>>  gradientStops,
System::Drawing::PointF  startPoint,
System::Drawing::PointF  endPoint 
)
protected

◆ CreateLinearGradientBrush() [2/2]

System::SharedPtr<XpsLinearGradientBrush> Aspose::Page::XPS::XpsModel::XpsElement::CreateLinearGradientBrush ( System::SharedPtr< XpsContext context,
System::Drawing::PointF  startPoint,
System::Drawing::PointF  endPoint 
)
protected

◆ CreateMatrix()

System::SharedPtr<XpsMatrix> Aspose::Page::XPS::XpsModel::XpsElement::CreateMatrix ( System::SharedPtr< XpsContext context,
float  m11,
float  m12,
float  m21,
float  m22,
float  m31,
float  m32 
)
protected

◆ CreatePath()

System::SharedPtr<XpsPath> Aspose::Page::XPS::XpsModel::XpsElement::CreatePath ( System::SharedPtr< XpsContext context,
System::SharedPtr< XpsPathGeometry data 
)
protected

◆ CreatePathFigure() [1/2]

System::SharedPtr<XpsPathFigure> Aspose::Page::XPS::XpsModel::XpsElement::CreatePathFigure ( System::SharedPtr< XpsContext context,
System::Drawing::PointF  startPoint,
bool  isClosed = false 
)
protected

◆ CreatePathFigure() [2/2]

System::SharedPtr<XpsPathFigure> Aspose::Page::XPS::XpsModel::XpsElement::CreatePathFigure ( System::SharedPtr< XpsContext context,
System::Drawing::PointF  startPoint,
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsPathSegment >>>  segments,
bool  isClosed = false 
)
protected

◆ CreatePathGeometry() [1/3]

System::SharedPtr<XpsPathGeometry> Aspose::Page::XPS::XpsModel::XpsElement::CreatePathGeometry ( System::SharedPtr< XpsContext context)
protected

◆ CreatePathGeometry() [2/3]

System::SharedPtr<XpsPathGeometry> Aspose::Page::XPS::XpsModel::XpsElement::CreatePathGeometry ( System::SharedPtr< XpsContext context,
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsPathFigure >>>  pathFigures 
)
protected

◆ CreatePathGeometry() [3/3]

System::SharedPtr<XpsPathGeometry> Aspose::Page::XPS::XpsModel::XpsElement::CreatePathGeometry ( System::SharedPtr< XpsContext context,
System::String  abbreviatedGeometry 
)
protected

◆ CreatePolyBezierSegment()

System::SharedPtr<XpsPolyBezierSegment> Aspose::Page::XPS::XpsModel::XpsElement::CreatePolyBezierSegment ( System::SharedPtr< XpsContext context,
System::ArrayPtr< System::Drawing::PointF points,
bool  isStroked = true 
)
protected

◆ CreatePolyLineSegment()

System::SharedPtr<XpsPolyLineSegment> Aspose::Page::XPS::XpsModel::XpsElement::CreatePolyLineSegment ( System::SharedPtr< XpsContext context,
System::ArrayPtr< System::Drawing::PointF points,
bool  isStroked = true 
)
protected

◆ CreatePolyQuadraticBezierSegment()

System::SharedPtr<XpsPolyQuadraticBezierSegment> Aspose::Page::XPS::XpsModel::XpsElement::CreatePolyQuadraticBezierSegment ( System::SharedPtr< XpsContext context,
System::ArrayPtr< System::Drawing::PointF points,
bool  isStroked = true 
)
protected

◆ CreateRadialGradientBrush() [1/2]

System::SharedPtr<XpsRadialGradientBrush> Aspose::Page::XPS::XpsModel::XpsElement::CreateRadialGradientBrush ( 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 
)
protected

◆ CreateRadialGradientBrush() [2/2]

System::SharedPtr<XpsRadialGradientBrush> Aspose::Page::XPS::XpsModel::XpsElement::CreateRadialGradientBrush ( System::SharedPtr< XpsContext context,
System::Drawing::PointF  center,
System::Drawing::PointF  gradientOrigin,
float  radiusX,
float  radiusY 
)
protected

◆ CreateSolidColorBrush() [1/2]

System::SharedPtr<XpsSolidColorBrush> Aspose::Page::XPS::XpsModel::XpsElement::CreateSolidColorBrush ( System::SharedPtr< XpsContext context,
System::SharedPtr< XpsColor color 
)
protected

◆ CreateSolidColorBrush() [2/2]

System::SharedPtr<XpsSolidColorBrush> Aspose::Page::XPS::XpsModel::XpsElement::CreateSolidColorBrush ( System::SharedPtr< XpsContext context,
System::Drawing::Color  color 
)
protected

◆ CreateVisualBrush()

System::SharedPtr<XpsVisualBrush> Aspose::Page::XPS::XpsModel::XpsElement::CreateVisualBrush ( System::SharedPtr< XpsContext context,
System::SharedPtr< XpsContentElement element,
System::Drawing::RectangleF  viewbox,
System::Drawing::RectangleF  viewport 
)
protected

◆ Dispose()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsElement::Dispose ( )
overrideprotectedvirtual

◆ ForcePropertyValueReferencesUpdate()

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

◆ ForceRegisterForPreprocessing()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsElement::ForceRegisterForPreprocessing ( bool  add = true)
overrideprotectedvirtual

◆ get_Count()

ASPOSE_PAGE_SHARED_API int32_t Aspose::Page::XPS::XpsModel::XpsElement::get_Count ( )

Returns number of child elements.

◆ get_Parent()

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsElement> Aspose::Page::XPS::XpsModel::XpsElement::get_Parent ( ) const

◆ GetEnumerator()

ASPOSE_PAGE_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<XpsContentElement> > > Aspose::Page::XPS::XpsModel::XpsElement::GetEnumerator ( )
overridevirtual

◆ idx_get()

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsContentElement> Aspose::Page::XPS::XpsModel::XpsElement::idx_get ( int32_t  i)

Provides access to element's children by index i .

Parameters
iIndex of child element.
Returns
Child element at i position.

◆ Initialize()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsElement::Initialize ( System::SharedPtr< System::Xml::XmlElement element)
overrideprotectedvirtual

◆ Insert()

template<typename T >
T Aspose::Page::XPS::XpsModel::XpsElement::Insert ( int32_t  index,
element 
)
inlineprotected

◆ InsertReference()

template<typename T >
T Aspose::Page::XPS::XpsModel::XpsElement::InsertReference ( int32_t  index,
element 
)
inlineprotected

◆ RegisterForPreprocessing()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsElement::RegisterForPreprocessing ( System::SharedPtr< XpsElement element,
RegistrationType  regType,
bool  add = true 
)
overrideprotectedvirtual

◆ Remove()

template<typename T >
T Aspose::Page::XPS::XpsModel::XpsElement::Remove ( element)
inlineprotected

◆ RemoveAt()

System::SharedPtr<XpsContentElement> Aspose::Page::XPS::XpsModel::XpsElement::RemoveAt ( int32_t  index)
protected

◆ RemoveReference()

template<typename T >
T Aspose::Page::XPS::XpsModel::XpsElement::RemoveReference ( element)
inlineprotected

◆ RemoveReferenceAt()

System::SharedPtr<XpsContentElement> Aspose::Page::XPS::XpsModel::XpsElement::RemoveReferenceAt ( int32_t  index,
System::SharedPtr< XpsContentElement element 
)
protected

◆ set_Parent()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsElement::set_Parent ( System::SharedPtr< XpsElement value)

◆ SetTemplateWeakPtr()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsElement::SetTemplateWeakPtr ( unsigned int  argument)
overridevirtual

Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.

Parameters
argumentIndex of template argument to treat as weak poiner.

Reimplemented from System::Object.

◆ UpdatePropertyValueReferences()

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

Member Data Documentation

◆ _elementType

XpsElementType Aspose::Page::XPS::XpsModel::XpsElement::_elementType
protected

◆ _name

System::String Aspose::Page::XPS::XpsModel::XpsElement::_name
protected