LayerPDFEdit_Layer
ObjectPDEPlace

A PDEPlace is a PDEElement that marks a place on a page. In a PDF file, a place is represented by the MP or DP marked content operators.

See Section 10.5, Marked Content, in the PDF Reference, for information on marked content.

A PDEPlace object allows marking a particular group of objects in a PDF file, rather than a place, with information.



Typedef Summary
 Typedef
 PDEPlace
A PDEElement that marks a place on a page in a PDF file. In a PDF file, a place is represented by the MP or DP Marked Content operators.
Method Summary
 Method
 
PDEPlace PDEPlaceCreate(INASAtom mcTag, INCosObj* cosObjP, INASBool isInline)
Creates a place object.
 
ASBool PDEPlaceGetDict(INPDEPlace pdePlace, OUTCosObj* placeDictP, OUTASBool* isInline)
Gets the Marked Content dictionary for a PDEPlace.
 
ASAtom PDEPlaceGetMCTag(INPDEPlace pdePlace)
Gets the Marked Content tag for a PDEPlace.
 
void PDEPlaceSetDict(INPDEPlace pdePlace, INCosObj* placeDictP, INASBool isInline)
Sets the Marked Content dictionary for a PDEPlace. The dictionary can be emitted inline or referenced from the \Properties key in the \Resources dictionary of the containing stream.
 
void PDEPlaceSetMCTag(INPDEPlace pdePlace, INASAtom mcTag)
Sets the Marked Content tag for a PDEPlace.

Typedefs Detail
PDEPlace 
Product availability: All
Platform availability: All

Syntax

typedef struct _t_PDEPlace* PDEPlace;

A PDEElement that marks a place on a page in a PDF file. In a PDF file, a place is represented by the MP or DP Marked Content operators.

Marked content is useful for adding structure information to a PDF file. For instance, a drawing program may want to mark a point with information, such as the start of a path of a certain type. Marked content provides a way to retain this information in the PDF file. A DP operator functions the same as the MP operator and, in addition, allows a property list dictionary to be associated with a place.

See Also


File: PEExpT.h
Line: 229



Method Detail
PDEPlaceCreate()
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

PDEPlace PDEPlaceCreate(INASAtom mcTag, INCosObj* cosObjP, INASBool isInline)

Creates a place object.

Call PDERelease() to dispose of the returned place object when finished with it.

Parameters

mcTag — 

IN/OUT The tag name for the place. It must not contain any white space characters (for example, spaces or tabs).

 
cosObjP — 

IN/OUT An optional Marked Content dictionary associated with the place.

 
isInline — 

If true, it emits the place's dictionary into the content stream inline. If false, then the dictionary is emitted outside of the content stream and referenced by name. See the Property Lists section in the PDF Reference for more details.

Returns

The place object.

Since


File: PEWProcs.h
Line: 1249
PDEPlaceGetDict() 
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

ASBool PDEPlaceGetDict(INPDEPlace pdePlace, OUTCosObj* placeDictP, OUTASBool* isInline)

Gets the Marked Content dictionary for a PDEPlace.

Parameters

pdePlace — 

IN/OUT The place whose Marked Content dictionary is obtained.

 
placeDictP — 

IN/OUT (Filled by the method) A pointer to the Marked Content dictionary; may be NULL.

 
isInline — 

IN/OUT (Filled by the method) If true, the Marked Content dictionary is inline; may be NULL.

Returns

true if dictionary is obtained, false if no dictionary is present.

See Also

Exceptions

peErrWrongPDEObjectType

Since


File: PERProcs.h
Line: 1537
PDEPlaceGetMCTag() 
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

ASAtom PDEPlaceGetMCTag(INPDEPlace pdePlace)

Gets the Marked Content tag for a PDEPlace.

Parameters

pdePlace — 

IN/OUT The place whose Marked Content tag is obtained.

Returns

A tag for pdePlace.

See Also

Exceptions

peErrWrongPDEObjectType

Since


File: PERProcs.h
Line: 1517
PDEPlaceSetDict() 
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

void PDEPlaceSetDict(INPDEPlace pdePlace, INCosObj* placeDictP, INASBool isInline)

Sets the Marked Content dictionary for a PDEPlace. The dictionary can be emitted inline or referenced from the \Properties key in the \Resources dictionary of the containing stream.

Parameters

pdePlace — 

IN/OUT The place whose Marked Content dictionary is set.

 
placeDictP — 

IN/OUT The Marked Content dictionary for pdePlace.

 
isInline — 

If true, it emits the place's dictionary into the content stream inline. If false, then the dictionary is emitted outside of the content stream and referenced by name. See the Property Lists section in the PDF Reference for more details.

See Also

Exceptions

peErrWrongPDEObjectType

Since


File: PEWProcs.h
Line: 1287
PDEPlaceSetMCTag() 
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

void PDEPlaceSetMCTag(INPDEPlace pdePlace, INASAtom mcTag)

Sets the Marked Content tag for a PDEPlace.

Parameters

pdePlace — 

IN/OUT The place whose Marked Content tag is set.

 
mcTag — 

IN/OUT The tag for pdePlace.

See Also

Exceptions

peErrWrongPDEObjectType

Since


File: PEWProcs.h
Line: 1263