org.pdfclown.documents.contents.objects.SetFont Class Reference

'Set the text font' operation [PDF:1.6:5.2]. More...

Inheritance diagram for org.pdfclown.documents.contents.objects.SetFont:
org.pdfclown.documents.contents.objects.Operation org.pdfclown.documents.contents.objects.ContentObject

List of all members.

Public Member Functions

Font GetFont (IContentContext context)
 Gets the font resource to be set.
Font GetResource (IContentContext context)
override void Scan (ContentScanner.GraphicsState state)
 Applies this object to the specified graphics context, updating the specified graphics state.
 SetFont (IList< PdfDirectObject > operands)
 SetFont (PdfName name, double size)
override string ToString ()
override void WriteTo (IOutputStream stream, Document context)
 Serializes this object to the specified stream.

Static Public Member Functions

static Operation Get (string operator_, IList< PdfDirectObject > operands)
 Gets an operation.

Static Public Attributes

static readonly string OperatorKeyword = "Tf"

Protected Attributes

IList< PdfDirectObjectoperands
string operator_

Properties

PdfName Name [get, set]
IList< PdfDirectObjectOperands [get]
string Operator [get]
double Size [get, set]
 Gets/Sets the font size to be set.

'Set the text font' operation [PDF:1.6:5.2].


Constructor & Destructor Documentation

org.pdfclown.documents.contents.objects.SetFont.SetFont ( PdfName  name,
double  size 
)
org.pdfclown.documents.contents.objects.SetFont.SetFont ( IList< PdfDirectObject operands  ) 

Member Function Documentation

static Operation org.pdfclown.documents.contents.objects.Operation.Get ( string  operator_,
IList< PdfDirectObject operands 
) [static, inherited]

Gets an operation.

Parameters:
operator_ Operator.
operands List of operands.
Font org.pdfclown.documents.contents.objects.SetFont.GetFont ( IContentContext  context  ) 

Gets the font resource to be set.

Parameters:
context Content context.
Font org.pdfclown.documents.contents.objects.SetFont.GetResource ( IContentContext  context  ) 
override void org.pdfclown.documents.contents.objects.SetFont.Scan ( ContentScanner.GraphicsState  state  )  [virtual]

Applies this object to the specified graphics context, updating the specified graphics state.

Parameters:
state Graphics state.

Reimplemented from org.pdfclown.documents.contents.objects.ContentObject.

override string org.pdfclown.documents.contents.objects.Operation.ToString (  )  [inherited]
override void org.pdfclown.documents.contents.objects.Operation.WriteTo ( IOutputStream  stream,
Document  context 
) [virtual, inherited]

Member Data Documentation


Property Documentation

PdfName org.pdfclown.documents.contents.objects.SetFont.Name [get, set]
IList<PdfDirectObject> org.pdfclown.documents.contents.objects.Operation.Operands [get, inherited]
string org.pdfclown.documents.contents.objects.Operation.Operator [get, inherited]
double org.pdfclown.documents.contents.objects.SetFont.Size [get, set]

Gets/Sets the font size to be set.

Copyright 2006-2013 Stefano Chizzolini. For more information, please visit PDF Clown home page.

Generated on Sat Feb 9 21:08:35 2013 for PDF Clown 0.1.2 by  doxygen 1.6.3