Range Class

Pageflex Document Action API

Pageflex Document Action API Range Class
Namespaces > Pageflex.Scripting > Range
The Range class represents a contiguous section of a text stream.
Syntax
C# Visual Basic Managed C++
public class Range : PFObject, ICharacter, ICopyFit, IParagraph
Public Class Range _
	Inherits PFObject _
	Implements ICharacter, ICopyFit, IParagraph
public ref class Range : public PFObject, ICharacter, ICopyFit, IParagraph
Members
All Members Constructors Methods Properties Fields Events



Icon Member Description
Alignment
Gets or sets a HorizontalAlignment value specifying how to align the paragraph's lines of text.
BaselineShift
Gets or sets the distance to offset the baseline for a sequence of characters or other tokens.
Bold
Gets or sets whether to use a bold member of the assigned font family to compose text.
Clone()
Returns a new Range object with the same endpoints as this range object.
Collapse(Boolean)
Makes the range's endpoints identical, so the range is empty.
ContainingShape
Gets the ITextContainer containing the start of this Range.
ContentElements
Gets the TextElements and Shapes in this Range.
ContentRanges
Gets a series of Range elements spanning this Range, where each returned Range is within a single TextElement.
CopyContents()
Copies the content of this Range into a StreamFragment that can be pasted elsewhere.
CopyFitFontSize
Gets the actual font size after copyfitting.
DeleteContents()
Deletes all content in the range.
Equals(Range)
Determines whether two Range objects refer to identical ranges in the document.
Equals(Object) (Inherited from Object.)
Finalize() (Inherited from Object.)
FontFamily
Gets or sets the name of the font family used to compose text.
FontSize
Gets or sets the font size used to compose text.
GetHashCode() (Inherited from Object.)
GetType() (Inherited from Object.)
InsertParagraph(String)
Inserts a paragraph of the specified style.
IsEmpty
Gets whether this Range's endpoints are the same.
Italic
Gets or sets whether to use the italic member of the assigned font family to compose text.
Language
Gets or sets the Language used to hyphenate and spell-check text.
MemberwiseClone() (Inherited from Object.)
Move(StreamPoint, Int32)
Moves both range endpoints by the specified number of stream points.
MoveEnd(StreamPoint, Int32)
Moves the end of the range by the specified number of stream points.
MoveStart(StreamPoint, Int32)
Moves the start of the range by the specified number of stream points.
Paragraphs
Gets the Paragraph elements in this Range.
Paste(StreamFragment)
Replaces this Range's content with the specified StreamFragment's content.
RemoveVariables(Boolean)
Removes any Variables assigned to elements completely contained in this range.
Text
Gets or sets the range's text.
TextColor
Gets or sets the name of the Color used for drawing text.
TextTint
Gets or sets the saturation level of the text color.
ToString() (Inherited from Object.)
Underline
Gets or sets whether text should be underlined.
Inheritance Hierarchy
Object
PFObject
  Range

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)