ShapeTextAlignment
Contenuti
[
Nascondere
]ShapeTextAlignment class
Rappresenta l’impostazione dell’allineamento del testo della forma;
public class ShapeTextAlignment
Proprietà
| Nome | Descrizione |
|---|---|
| AutoSize { get; set; } | Indica se la dimensione della forma viene regolata automaticamente in base al suo contenuto. |
| BottomMarginPt { get; set; } | Restituisce il margine inferiore in unità di Punti |
| IsAutoMargin { get; set; } | Indica se il margine della cornice di testo è automatico. |
| IsTextWrapped { get; set; } | Ottiene e imposta il tipo di testo a capo della forma che contiene testo. |
| LeftMarginPt { get; set; } | Restituisce il margine sinistro in unità di Punti |
| RightMarginPt { get; set; } | Restituisce il margine destro in unità di Punti |
| RotateTextWithShape { get; set; } | Indica se ruotare il testo con forma. |
| RotationAngle { get; set; } | Ottiene e imposta la rotazione della forma. |
| TextHorizontalOverflow { get; set; } | Ottiene e imposta il tipo di overflow orizzontale del testo della casella di testo. |
| TextShapeType { get; set; } | Ottiene e imposta il tipo di trasformazione del testo. |
| TextVerticalOverflow { get; set; } | Ottiene e imposta il tipo di overflow verticale del testo della casella di testo. |
| TextVerticalType { get; set; } | Ottiene e imposta la direzione del testo. |
| TopMarginPt { get; set; } | Restituisce il margine superiore in unità di Punti |
Metodi
| Nome | Descrizione |
|---|---|
| override Equals(object) | Determina se questa istanza ha lo stesso valore di un’altra specificataShapeTextAlignment oggetto. |
| override GetHashCode() |
Esempi
[C#]
//Creazione di un'istanza di un oggetto cartella di lavoro
Workbook workbook = new Workbook();
Shape shape = workbook.Worksheets[0].Shapes.AddRectangle(1, 0, 1, 0, 50, 100);
Aspose.Cells.Drawing.Texts.ShapeTextAlignment shapeTextAlignment = shape.TextBody.TextAlignment;
//fai i tuoi affari
Guarda anche
- spazio dei nomi Aspose.Cells.Drawing.Texts
- assemblea Aspose.Cells