CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
frame_dimension.h
1
2#ifndef _frame_dimension_h_
3#define _frame_dimension_h_
4
5#include "fwd.h"
6#include "system/guid.h"
7
8namespace System { namespace Drawing { namespace Imaging {
9
10 class FrameDimension;
13
18 class ASPOSECPP_SHARED_CLASS FrameDimension : public Object
19 {
20 public:
23 FrameDimension(const System::Guid & guid) : m_guid(guid) {}
24
27 {
28 return m_guid;
29 }
30
33 {
34 return s_time;
35 }
36
39 {
40 return s_resolution;
41 }
42
45 {
46 return s_page;
47 }
48
53 {
54 return (m_guid == format->m_guid);
55 }
56
57 private:
59 static ASPOSECPP_SHARED_API FrameDimensionPtr s_time;
61 static ASPOSECPP_SHARED_API FrameDimensionPtr s_resolution;
63 static ASPOSECPP_SHARED_API FrameDimensionPtr s_page;
64
66 System::Guid m_guid;
67
68 };
69
70}}}
71
72
73#endif
Provides properties that get the frame dimensions of an image. Objects of this class should only be a...
Definition: frame_dimension.h:19
static FrameDimensionPtr get_Page()
Returns the page dimension.
Definition: frame_dimension.h:44
System::Guid get_Guid() const
Returns GUID associated with the current object.
Definition: frame_dimension.h:26
FrameDimension(const System::Guid &guid)
Constructs a new FrameDimension object and initializes it with the specified GUID.
Definition: frame_dimension.h:23
static FrameDimensionPtr get_Resolution()
Returns the resolution dimension.
Definition: frame_dimension.h:38
static FrameDimensionPtr get_Time()
Returns the time dimension.
Definition: frame_dimension.h:32
bool Equals(FrameDimensionPtr format)
Determines if the specified FrameDimension object is equivalent to the current object.
Definition: frame_dimension.h:52
Represents a Globally Unique IDentifier This type should be allocated on stack and passed to function...
Definition: guid.h:34
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
SharedPtr< FrameDimension > FrameDimensionPtr
An alias for a shared pointer to an instance of FrameDimension class.
Definition: frame_dimension.h:12
Definition: db_command.h:9