InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PMPageSize Class Reference

Public Types

typedef base_type data_type
 

Public Member Functions

 PMPageSize (PMReal width, PMReal height, K2Pair< PMReal, PMReal > scale)
 
 PMPageSize (PMReal width, PMReal height)
 
 PMPageSize (PMReal width, PMReal height, const PMPoint &square_inch)
 
 PMPageSize (const PMRect &r)
 
 PMPageSize (uint32 tag)
 
PMReal OutputWidth () const
 
PMReal OutputHeight () const
 
PMPoint OutputDimensions () const
 
PMReal DesignWidth () const
 
PMReal DesignHeight () const
 
PMPoint DesignDimensions () const
 
PMReal WidthScale () const
 
PMReal HeightScale () const
 
PMReal WidthPPI () const
 
PMReal HeightPPI () const
 
bool16 operator== (const PMPageSize &other) const
 
bool16 operator!= (const PMPageSize &other) const
 
PMReal OutputShape () const
 
bool16 OutputIsWide () const
 
bool16 OutputIsTall () const
 
bool16 OutputIsSquare () const
 
bool16 OutputIsEmpty () const
 
PMReal DesignShape () const
 
bool16 DesignIsWide () const
 
bool16 DesignIsTall () const
 
bool16 DesignIsSquare () const
 
bool16 DesignIsEmpty () const
 
void ReadWrite (IPMStream *iPMStream)