Text 13 entries
artistic and paragraph text
Entries in this section
- shape.TextEntry point to the text object. Only exists when shape.Type == 6.
- shape.Text.ContentsPlain text, read/write. strip() before you compare — CDR often leaves trailing spaces and
- shape.Text.IsArtisticTextTrue if it's artistic text (a single-line heading).
- shape.Text.IsParagraphTextTrue if it's paragraph text that wraps inside a box.
- shape.Text.StoryThe story object. This is where the real layout properties live.
- shape.Text.Story.CharactersCharacter collection. .Count gives the character count, .Item(i) a single character.
- shape.Text.Story.Characters.AllThe whole-character range, and the only reliable way to set font and size in bulk. Text.Fo
- shape.Text.Story.CharSpacingCharacter spacing, as a percentage. 180 means 180%, loose; 50 tightens. This is how you op
- shape.Text.Story.WordSpacingWord spacing as a percentage. For Latin headings.
- shape.Text.Story.LineSpacingLine spacing. Paragraph text needs this one.
- shape.Text.Story.AlignmentHorizontal paragraph alignment (cdrAlignment enum).
- shape.Text.Range(start, end)Returns a character range, for local typography like recoloring the first few characters.
- shape.Text.FitToPath?Text on a path; needs a Path object to go with it.
Getting StartedConnection & InitApplicationDocumentPageLayer & ShapesGeometry & TransformGroup / Order / BooleanShape AppearanceTextTextRangeFillOutlinePowerClipFountain FillPattern / Texture FillTransparency & BlendEffectsColorCurve & NodeBitmapFind & TraverseUnits & ConversionImport / ExportEnumerationsObject DataAlign / DistributeLayer AdvancedView & PerformanceEventsRecipesPitfalls