NShape Reference
ICaptionedShape Interface

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced >

NShape Reference
ICaptionedShape Interface

Previous pageReturn to chapter overviewNext page

Represents a shape with one or more captions in it.

Syntax

public interface ICaptionedShape

Description

Represents a shape with one or more captions in it.

Public Properties

Name

Description

CaptionCount

The number of captioned in the shape.

Public Methods

Name

Description

FindCaptionFromPoint

Finds a caption which contains the given point.

GetCaptionBounds

Calculates the transformed bounds of the caption in diagram coordinates. These bounds define the maximum area the caption text can occupy.

GetCaptionCharacterStyle

Returns the ICharacterStyle of the indicated caption.

GetCaptionparagraphStyle

Returns the IParagraphStyle of the indicated caption.

GetCaptionText

Returns the text of the indicated caption.

GetCaptionTextBounds

Returns the transformed bounds of the caption's text in diagram coordinates. These bounds define the current area of the text in the caption.

SetCaptionCharacterStyle

Sets the ICharacterStyle of the indicated caption.

SetCaptionParagraphStyle

Sets the IParagraphStyle of the indicated caption.

SetCaptionText

Sets the text of the indicated caption.

Requirements

Namespace: Dataweb.NShape.Advanced

Assembly: Dataweb.NShape