DiagramFormattedTextFragmentCollection
Inheritance: java.lang.Object, com.groupdocs.watermark.common.ReadOnlyListBase, com.groupdocs.watermark.common.RemoveOnlyListBase, com.groupdocs.watermark.search.FormattedTextFragmentCollection
public class DiagramFormattedTextFragmentCollection extends FormattedTextFragmentCollection
Represents a collection of formatted text fragments in a Visio document.
This collection contains items of [DiagramFormattedTextFragment](../../com.groupdocs.watermark.contents/diagramformattedtextfragment)
type.
Methods
Method | Description |
---|---|
removeFromDocument(FormattedTextFragment item) | |
createInDocument(int index, String text, Font font, Color foregroundColor, Color backgroundColor) |
removeFromDocument(FormattedTextFragment item)
public void removeFromDocument(FormattedTextFragment item)
Parameters:
Parameter | Type | Description |
---|---|---|
item | FormattedTextFragment |
createInDocument(int index, String text, Font font, Color foregroundColor, Color backgroundColor)
public FormattedTextFragment createInDocument(int index, String text, Font font, Color foregroundColor, Color backgroundColor)
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | |
text | java.lang.String | |
font | Font | |
foregroundColor | Color | |
backgroundColor | Color |
Returns: FormattedTextFragment