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

#include <BscShpUtils.h>

Public Member Functions

UIDRef CreateBasicShape (const UIDRef &parent, PBPMRect bbox)
 

Detailed Description

From SDK sample; Utility methods for the BasicShape plug-in.

Member Function Documentation

UIDRef BscShpUtils::CreateBasicShape (const UIDRefparent,
PBPMRect bbox 
)

Create a kBscShpPageItemBoss.

Parameters
parent- the boss that owns the created kBscShpPageItemBoss.
bbox- the desired bounds in pasteboard co-ordinates
Returns
reference to the created kBscShpPageItemBoss.