GetEffective
PortionFormat.GetEffective method
Ruft effektive Teilformatierungsdaten mit angewendeter Vererbung ab.
public IPortionFormatEffectiveData GetEffective()
Rückgabewert
EINIPortionFormatEffectiveData
.
Beispiele
Dieses Beispiel demonstriert das Abrufen einiger effektiver Portionsformateigenschaften.
[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
IAutoShape shape = pres.Slides[0].Shapes[0] as IAutoShape;
IPortionFormatEffectiveData effectivePortionFormat = shape.TextFrame.Paragraphs[0].Portions[0].PortionFormat.GetEffective();
Console.WriteLine("Latin font: " + effectivePortionFormat.LatinFont.FontName);
Console.WriteLine("Font height: " + effectivePortionFormat.FontHeight);
Console.WriteLine("Fill type: " + effectivePortionFormat.FillFormat.FillType);
}
Siehe auch
- interface IPortionFormatEffectiveData
- class PortionFormat
- namensraum Aspose.Slides
- Montage Aspose.Slides