![]() Sets the margins between the text box's bounding rectangle and the parent document's text Sets the floating shape's appearance settingsĪ := TdxAlphaColors.Black Ī := TdxAlphaColors.Bisque ') ĪTextBoxSubDocument.AppendText('Qui ea alia mutat petentium ius latine oblique conclusionemque ne.') ĪTextBoxShape.TextWrapping := TdxRichEditTextWrappingType.Square // Anchors the floating text box to the document's text layer and wraps text around all sides of the floating box's bounding rectangleĪTextBoxShape.HorizontalAlignment := TdxRichEditShapeHorizontalAlignment.Center ĪTextBoxShape.Offset := TdxPointF.Create(0, 200) ') ĪTextBoxSubDocument.AppendText('Ea purto ubique voluptua nam, ea malorum definebas assueverit mel. , dxCoreGraphics, cxGeometry // Add these units to the uses clause.ĪTextBoxSubDocument: IdxRichEditSubDocument ĪDocument := dxRichEditControl1.Document ĪDocument.&Unit := TdxRichEditDocumentUnit.Point // Sets the measurement unit used to specify positions and sizes within the documentĪTextBoxShape := ADocument.InsertTextBox(ADocument.CreatePosition(0)) // Creates a new empty text boxĪTextBoxSubDocument := ĪTextBoxSubDocument.AppendText('Lorem ipsum dolor sit amet, eu cum consul ignota.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |