Describes the PageMediaSize feature options. More...
Inherits Aspose::Page::XPS::XpsMetadata::Option, and Aspose::Page::XPS::XpsMetadata::PageMediaSize::IPageMediaSizeItem.
Public Member Functions | |
ASPOSE_PAGE_SHARED_API | PageMediaSizeOption (System::String name, const System::ArrayPtr< System::SharedPtr< PageMediaSize::IPageMediaSizeOptionItem >> &items) |
Creates a new instance. More... | |
ASPOSE_PAGE_SHARED_API | PageMediaSizeOption (System::SharedPtr< PageMediaSize::PageMediaSizeOption > option) |
Clones this option instance. More... | |
ASPOSE_PAGE_SHARED_API System::SharedPtr< PageMediaSize::PageMediaSizeOption > | Add (const System::ArrayPtr< System::SharedPtr< PageMediaSize::IPageMediaSizeOptionItem >> &items) |
Adds items to the options. More... | |
ASPOSE_PAGE_SHARED_API System::SharedPtr< PageMediaSize::PageMediaSizeOption > | SetMediaSizeWidth (int32_t mediaSizeWidth) |
Adds the MediaSizeWidth scored property value. More... | |
ASPOSE_PAGE_SHARED_API System::SharedPtr< PageMediaSize::PageMediaSizeOption > | SetMediaSizeHeight (int32_t mediaSizeHeight) |
Adds the MediaSizeWidth scored property value. More... | |
ASPOSE_PAGE_SHARED_API System::SharedPtr< PageMediaSize::PageMediaSizeOption > | Clone () |
Clones this option instance. The shortcut to the cloneing constructor. More... | |
Public Member Functions inherited from Aspose::Page::XPS::XpsMetadata::Option | |
ASPOSE_PAGE_SHARED_API | Option (System::String name, const System::ArrayPtr< System::SharedPtr< IOptionItem >> &items) |
Creates a new PrintTicket option instance. More... | |
ASPOSE_PAGE_SHARED_API | Option (const System::ArrayPtr< System::SharedPtr< IOptionItem >> &items) |
Creates a new PrintTicket option instance. More... | |
ASPOSE_PAGE_SHARED_API | Option (System::SharedPtr< Option > option) |
Creates a clone option instance. More... | |
ASPOSE_PAGE_SHARED_API void | Add (const System::ArrayPtr< System::SharedPtr< IOptionItem >> &items) |
Adds a list of items to the end of this option's item list. Each one must be a ScoredProperty or Property instance. More... | |
Public Member Functions inherited from Aspose::Page::XPS::XpsMetadata::CompositePrintTicketElement | |
ASPOSE_PAGE_SHARED_API | CompositePrintTicketElement (System::String name, const System::ArrayPtr< System::SharedPtr< IPrintTicketElementChild >> &items) |
Creates a new instance. More... | |
ASPOSE_PAGE_SHARED_API | CompositePrintTicketElement (System::SharedPtr< CompositePrintTicketElement > element) |
Clones this element instance. More... | |
Public Member Functions inherited from Aspose::Page::XPS::XpsMetadata::PrintTicketElement | |
ASPOSE_PAGE_SHARED_API System::String | get_Name () override |
Gets the element name. More... | |
ASPOSE_PAGE_SHARED_API | PrintTicketElement (System::String name) |
Creates a new instance. 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... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | SharedRefRemovedSafe () |
Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | RemovedSharedRefs (int count) |
Decreases shared reference count by specified value. More... | |
Detail::SmartPtrCounter * | WeakRefAdded () |
Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
void | WeakRefRemoved () |
Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
Detail::SmartPtrCounter * | GetCounter () |
Gets reference counter data structure associated with the object. More... | |
int | SharedCount () const |
Gets current value of shared reference counter. More... | |
ASPOSECPP_SHARED_API void | Lock () |
Implements C# lock() statement locking. Call directly or use LockContext sentry object. More... | |
ASPOSECPP_SHARED_API void | Unlock () |
Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More... | |
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
Compares objects using C# Object.Equals semantics. More... | |
virtual ASPOSECPP_SHARED_API int32_t | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More... | |
virtual ASPOSECPP_SHARED_API 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 TypeInfo & | GetType () const |
Gets actual type of object. Analog of C# System.Object.GetType() call. More... | |
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More... | |
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (uint32_t argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More... | |
virtual ASPOSECPP_SHARED_API bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
For internal purposes only. More... | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
template<> | |
bool | Equals (double const &objA, double const &objB) |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
Static Protected Member Functions | |
static System::SharedPtr< PageMediaSize::PageMediaSizeOption > | SizeToOption (System::Drawing::Size size) |
static System::SharedPtr< PageMediaSize::PageMediaSizeOption > | NameToOption (System::String name) |
Additional Inherited Members | |
Public Types inherited from System::Object | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. 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 TypeInfo & | Type () |
Implements C# typeof(System.Object) construct. More... | |
Describes the PageMediaSize feature options.
ASPOSE_PAGE_SHARED_API Aspose::Page::XPS::XpsMetadata::PageMediaSize::PageMediaSizeOption::PageMediaSizeOption | ( | System::String | name, |
const System::ArrayPtr< System::SharedPtr< PageMediaSize::IPageMediaSizeOptionItem >> & | items | ||
) |
Creates a new instance.
name | The option name. |
items | The option items. |
ASPOSE_PAGE_SHARED_API Aspose::Page::XPS::XpsMetadata::PageMediaSize::PageMediaSizeOption::PageMediaSizeOption | ( | System::SharedPtr< PageMediaSize::PageMediaSizeOption > | option | ) |
Clones this option instance.
option | An instance to clone. |
|
protectedvirtual |
ASPOSE_PAGE_SHARED_API System::SharedPtr<PageMediaSize::PageMediaSizeOption> Aspose::Page::XPS::XpsMetadata::PageMediaSize::PageMediaSizeOption::Add | ( | const System::ArrayPtr< System::SharedPtr< PageMediaSize::IPageMediaSizeOptionItem >> & | items | ) |
Adds items to the options.
items | Items to add. |
ASPOSE_PAGE_SHARED_API System::SharedPtr<PageMediaSize::PageMediaSizeOption> Aspose::Page::XPS::XpsMetadata::PageMediaSize::PageMediaSizeOption::Clone | ( | ) |
Clones this option instance. The shortcut to the cloneing constructor.
|
overrideprotectedvirtual |
Reimplemented from Aspose::Page::XPS::XpsMetadata::CompositePrintTicketElement.
|
staticprotected |
ASPOSE_PAGE_SHARED_API System::SharedPtr<PageMediaSize::PageMediaSizeOption> Aspose::Page::XPS::XpsMetadata::PageMediaSize::PageMediaSizeOption::SetMediaSizeHeight | ( | int32_t | mediaSizeHeight | ) |
Adds the
scored property value.
mediaSizeHeight | A MediaSizeHeight |
ASPOSE_PAGE_SHARED_API System::SharedPtr<PageMediaSize::PageMediaSizeOption> Aspose::Page::XPS::XpsMetadata::PageMediaSize::PageMediaSizeOption::SetMediaSizeWidth | ( | int32_t | mediaSizeWidth | ) |
Adds the
scored property value.
mediaSizeWidth | A MediaSizeWidth |
|
staticprotected |
|
static |
Business Card
|
static |
Credit Card
|
static |
Specifies a custom media size. Must be validated against
.
|
static |
ISOA0
|
static |
ISOA1
|
static |
ISOA10
|
static |
ISOA2
|
static |
ISOA3
|
static |
ISOA3 extra
|
static |
ISOA3 rotated
|
static |
ISOA4
|
static |
ISOA4 extra
|
static |
ISOA4 rotated
|
static |
ISOA5
|
static |
ISOA5 extra
|
static |
ISOA5 rotated
|
static |
ISOA6
|
static |
ISOA6 rotated
|
static |
ISOA7
|
static |
ISOA8
|
static |
ISOA9
|
static |
ISOB0
|
static |
ISOB1
|
static |
ISOB10
|
static |
ISOB2
|
static |
ISOB3
|
static |
ISOB4
|
static |
ISOB4 envelope
|
static |
ISOB5 envelope
|
static |
ISOB5 extra
|
static |
ISOB7
|
static |
ISOB8
|
static |
ISOB9
|
static |
ISOC0
|
static |
ISOC1
|
static |
ISOC10
|
static |
ISOC2
|
static |
ISOC3
|
static |
ISOC3 envelope
|
static |
ISOC4
|
static |
ISOC4 envelope
|
static |
ISOC5
|
static |
ISOC5 envelope
|
static |
ISOC6
|
static |
ISOC6C5 envelope
|
static |
ISOC6 envelope
|
static |
ISOC7
|
static |
ISOC8
|
static |
ISOC9
|
static |
ISODL envelope
|
static |
ISODL envelope rotated
|
static |
ISOSRA3
|
static |
Japan 2L Photo
|
static |
Japan Chou3 envelope
|
static |
Japan Chou3 envelope rotated
|
static |
Japan Chou4 envelope
|
static |
Japan Chou4 envelope rotated
|
static |
Japan Double Hagaki Postcard
|
static |
Japan Double Hagaki Postcard rotated
|
static |
Japan Hagaki Postcard
|
static |
Japan Hagaki Postcard rotated
|
static |
Japan Kaku2 envelope
|
static |
Japan Kaku2 envelope rotated
|
static |
Japan Kaku3 envelope
|
static |
Japan Kaku3 envelope rotated
|
static |
Japan L Photo
|
static |
Japan Quadruple Hagaki Postcard
|
static |
Japan You1 envelope
|
static |
Japan You2 envelope
|
static |
Japan You3 envelope
|
static |
Japan You4 envelope
|
static |
Japan You4 envelope rotated
|
static |
Japan You6 envelope
|
static |
Japan You6 envelope rotated
|
static |
JISB0
|
static |
JISB1
|
static |
JISB10
|
static |
JISB2
|
static |
JISB3
|
static |
JISB4
|
static |
JISB4 rotated
|
static |
JISB5
|
static |
JISB5 rotated
|
static |
JISB6
|
static |
JISB6 rotated
|
static |
JISB7
|
static |
JISB8
|
static |
JISB9
|
static |
North America 10x11
|
static |
North America 10x12
|
static |
North America 10x14
|
static |
North America 11x17
|
static |
North America 14x17
|
static |
North America 4x6
|
static |
North America 4x8
|
static |
North America 5x7
|
static |
North America 8x10
|
static |
North America 9x11
|
static |
North America Architecture A sheet
|
static |
North America Architecture B sheet
|
static |
North America Architecture C sheet
|
static |
North America Architecture D sheet
|
static |
North America Architecture E sheet
|
static |
North America C sheet
|
static |
North America D sheet
|
static |
North America E sheet
|
static |
North America Executive
|
static |
North America German Legal Fanfold
|
static |
North America German Standard Fanfold
|
static |
North America Legal
|
static |
North America Legal extra
|
static |
North America Letter
|
static |
North America Letter extra
|
static |
North America Letter Plus
|
static |
North America Letter rotated
|
static |
North America Monarch envelope
|
static |
North America Note
|
static |
North America Number 10 envelope
|
static |
North America Number 10 envelope rotated
|
static |
North America Number 11 envelope
|
static |
North America Number 12 envelope
|
static |
North America Number 14 envelope
|
static |
North America Number 9 envelope
|
static |
North America Personal envelope
|
static |
North America Quarto
|
static |
North America Statement
|
static |
North America Super A
|
static |
North America Super B
|
static |
North America Tabloid
|
static |
North America Tabloid extra
|
static |
Other Metric A3 Plus
|
static |
Other Metric A4 Plus
|
static |
Other Metric Folio
|
static |
Other Metric Invite envelope
|
static |
Other Metric Italian envelope
|
static |
PRC10 envelope
|
static |
PRC10 envelope rotated
|
static |
PRC16K
|
static |
PRC16K rotated
|
static |
PRC1 envelope
|
static |
PRC1 envelope rotated
|
static |
PRC2 envelope
|
static |
PRC2 envelope rotated
|
static |
PRC32K
|
static |
PRC32K big
|
static |
PRC32K rotated
|
static |
PRC3 envelope
|
static |
PRC3 envelope rotated
|
static |
PRC4 envelope
|
static |
PRC4 envelope rotated
|
static |
PRC envelope
|
static |
PRC5 envelope rotated
|
static |
PRC6 envelope
|
static |
PRC6 envelope rotated
|
static |
PRC7 envelope
|
static |
PRC7 envelope rotated
|
static |
PRC8 envelope
|
static |
PRC8 envelope rotated
|
static |
PRC9 envelope
|
static |
PRC9 envelope rotated
|
static |
Specifies a custom media size (PostScript specific). Must be validated against
.
|
static |
Roll 06 inch
|
static |
Roll 08 inch
|
static |
Roll 12 inch
|
static |
Roll 15 inch
|
static |
Roll 18 inch
|
static |
Roll 22 inch
|
static |
Roll 24 inch
|
static |
Roll 30 inch
|
static |
Roll 36 inch
|
static |
Roll 54 inch