pdftron::PDF::Annots::StrikeOut Class Reference

A StrikeOut annotation shows as a line segment crossing out a word or a group of contiguous words. More...

#include <StrikeOut.h>

Inheritance diagram for pdftron::PDF::Annots::StrikeOut:

Inheritance graph
[legend]
Collaboration diagram for pdftron::PDF::Annots::StrikeOut:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StrikeOut (SDF::Obj d)
 Creates a StrikeOut annotation and initializes it using given Cos/SDF object.
 StrikeOut (const Annot &ann)
 Creates a StrikeOut annotation and initializes it using given annotation object.

Static Public Member Functions

static StrikeOut Create (SDF::SDFDoc &doc, const Rect &pos)
 Creates a new StrikeOut annotation in the specified document.


Detailed Description

A StrikeOut annotation shows as a line segment crossing out a word or a group of contiguous words.

Constructor & Destructor Documentation

pdftron::PDF::Annots::StrikeOut::StrikeOut ( SDF::Obj  d  ) 

Creates a StrikeOut annotation and initializes it using given Cos/SDF object.

Note:
The constructor does not copy any data, but is instead the logical equivalent of a type cast.

pdftron::PDF::Annots::StrikeOut::StrikeOut ( const Annot ann  )  [inline]

Creates a StrikeOut annotation and initializes it using given annotation object.

Note:
The constructor does not copy any data, but is instead the logical equivalent of a type cast.


Member Function Documentation

static StrikeOut pdftron::PDF::Annots::StrikeOut::Create ( SDF::SDFDoc doc,
const Rect pos 
) [static]

Creates a new StrikeOut annotation in the specified document.

Parameters:
doc A document to which the Popup annotation is added.
pos A rectangle specifying the Popup annotation's bounds in default user space units.
Returns:
A newly created blank StrikeOut annotation.


© 2002-2010 PDFTron Systems Inc.