InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGraphicBounds Class Referenceabstract

#include <IGraphicBounds.h>

Inheritance diagram for IGraphicBounds:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IGRAPHICBOUNDS }
 

Public Member Functions

virtual void Set (const PMRect &bounds)=0
 
virtual PMRect Get (void) const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

This interface is used to set the intrinsic bounds of an imported image, EPS, PDF, or similar graphic. The bounds are then used by IGeometry whenever it needs to obtain the intrinsic bounds of the graphic. Sometime we want to use the graphic bounds since it guarantees to be the entire image while geometry bounds may only report the visible portion of the image.

Member Function Documentation

virtual PMRect IGraphicBounds::Get (void ) const
pure virtual

Get the intrinsic bounds.

Returns
PMRect the intrinsic bound of the item.
virtual void IGraphicBounds::Set (const PMRectbounds)
pure virtual

Set the intrinsic bounds.

Parameters
bounds[IN] parameter the new bounds to use.
Returns
void.