ShapeTextAlignment
İçindekiler
[
Saklamak
]ShapeTextAlignment class
Şeklin metin hizalama ayarını temsil eder;
public class ShapeTextAlignment
Özellikleri
| İsim | Tanım |
|---|---|
| AutoSize { get; set; } | Şeklin boyutunun içeriğine göre otomatik olarak ayarlanıp ayarlanmadığını gösterir. |
| BottomMarginPt { get; set; } | Alt kenar boşluğunu Points biriminde döndürür |
| IsAutoMargin { get; set; } | Metin çerçevesinin kenar boşluğunun otomatik olup olmadığını gösterir. |
| IsTextWrapped { get; set; } | Metni içeren şeklin metin sarmalı türünü alır ve ayarlar. |
| LeftMarginPt { get; set; } | Sol kenar boşluğunu Points biriminde döndürür |
| RightMarginPt { get; set; } | Sağ kenar boşluğunu Points biriminde döndürür |
| RotateTextWithShape { get; set; } | Metnin şekil ile döndürülüp döndürülmediğini gösterir. |
| RotationAngle { get; set; } | Şeklin dönüşünü alır ve ayarlar. |
| TextHorizontalOverflow { get; set; } | Metin kutusunun metin yatay taşma türünü alır ve ayarlar. |
| TextShapeType { get; set; } | Metnin dönüştürme türünü alır ve ayarlar. |
| TextVerticalOverflow { get; set; } | Metin kutusunun metin dikey taşma türünü alır ve ayarlar. |
| TextVerticalType { get; set; } | Metin yönünü alır ve ayarlar. |
| TopMarginPt { get; set; } | Points biriminde üst kenar boşluğunu döndürür |
yöntemler
| İsim | Tanım |
|---|---|
| override Equals(object) | Bu örneğin belirtilen başka bir örnekle aynı değere sahip olup olmadığını belirlerShapeTextAlignment nesne. |
| override GetHashCode() |
Örnekler
[C#]
//Bir Çalışma Kitabı nesnesini başlatma
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;
//işini yap
Ayrıca bakınız
- ad alanı Aspose.Cells.Drawing.Texts
- toplantı Aspose.Cells