TextureAlignment
Fill.TextureAlignment property
Döşeme dokusu dolgusunun hizalamasını alır veya ayarlar.
public TextureAlignment TextureAlignment { get; set; }
Örnekler
Şeklin içindeki dokunun nasıl doldurulacağını ve döşeneceğini gösterir.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
Shape shape = builder.InsertShape(ShapeType.Rectangle, 80, 80);
// Şekil dolgusuna doku hizalaması uygulayın.
shape.Fill.PresetTextured(PresetTexture.Canvas);
shape.Fill.TextureAlignment = TextureAlignment.TopRight;
// "TextureAlignment" elde etmek istiyorsanız şekli DML kullanarak tanımlamak için uyumluluk seçeneğini kullanın
// belge kaydedildikten sonraki özellik.
OoxmlSaveOptions saveOptions = new OoxmlSaveOptions { Compliance = OoxmlCompliance.Iso29500_2008_Strict };
doc.Save(ArtifactsDir + "Shape.TextureFill.docx", saveOptions);
Ayrıca bakınız
- enum TextureAlignment
- class Fill
- ad alanı Aspose.Words.Drawing
- toplantı Aspose.Words