![]() |
#include <Square.h>
Public Member Functions | |
Square (SDF::Obj d=0) | |
Creates an Square annotation and initializes it using given Cos/SDF object. | |
Square (const Annot &ann) | |
Creates a Square annotation and initializes it using given annotation object. | |
Static Public Member Functions | |
static Square | Create (SDF::SDFDoc &doc, const Rect &pos) |
Creates a new Square annotation in the specified document. |
When opened, a square annotation can display a pop-up window containing the text of the associated note. The rectangle may be inscribed and possibly padded within the annotation rectangle defined by the annotation dictionary's Rect entry.
pdftron::PDF::Annots::Square::Square | ( | SDF::Obj | d = 0 |
) |
Creates an Square annotation and initializes it using given Cos/SDF object.
pdftron::PDF::Annots::Square::Square | ( | const Annot & | ann | ) | [inline] |
Creates a Square annotation and initializes it using given annotation object.
static Square pdftron::PDF::Annots::Square::Create | ( | SDF::SDFDoc & | doc, | |
const Rect & | pos | |||
) | [static] |