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

#include <IPrintJobData.h>

Public Types

typedef object_type data_type
 

Public Member Functions

 TrapZoneInfo (PMString &trapStyleName, IPathGeometry *trapZonePath, PMReal offsetPathAmt=PMReal(0.0))
 
PMStringGetTrapStyleName ()
 
IPathGeometryGetTrapZonePath ()
 
PMReal GetOffsetPathAmount ()
 

Detailed Description

TrapZoneInfo is the container for trap zone information for the pages in the publication. Used in the IPrintJobData interface.

Constructor & Destructor Documentation

TrapZoneInfo::TrapZoneInfo (PMStringtrapStyleName,
IPathGeometrytrapZonePath,
PMReal offsetPathAmt = PMReal(0.0) 
)
inline

constructor

Parameters
trapStyleNameIN the trap style name for this trap zone
trapZonePathIN the path of the zone
offsetPathAmtIN the amount to offset the path (defaults to 0.0)

Member Function Documentation

PMReal TrapZoneInfo::GetOffsetPathAmount ()
inline

get the desired offset amount for the path

Returns
PMReal containing the desired offset for this path
PMString& TrapZoneInfo::GetTrapStyleName ()
inline

get the trap style name for this trap zone info

Returns
PMString reference containing the trap style name
IPathGeometry* TrapZoneInfo::GetTrapZonePath ()
inline

get the trap zone path for this trap zone info

Returns
pointer to IPathGeometry containing the path for this zone
See Also
IPathGeometry