GetEffective
Método ThreeDFormat.GetEffective
Obtiene datos de formato 3-D efectivos con la herencia aplicada.
public IThreeDFormatEffectiveData GetEffective()
Valor de Retorno
Un IThreeDFormatEffectiveData
.
Ejemplos
Este ejemplo demuestra cómo obtener propiedades efectivas para la cámara, el equipo de luz y el bisel superior de la forma.
[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
IThreeDFormatEffectiveData threeDEffectiveData = pres.Slides[0].Shapes[0].ThreeDFormat.GetEffective();
Console.WriteLine("= Propiedades efectivas de la cámara =");
Console.WriteLine("Tipo: " + threeDEffectiveData.Camera.CameraType);
Console.WriteLine("Campo de visión: " + threeDEffectiveData.Camera.FieldOfViewAngle);
Console.WriteLine("Zoom: " + threeDEffectiveData.Camera.Zoom);
Console.WriteLine("= Propiedades efectivas del equipo de luz =");
Console.WriteLine("Tipo: " + threeDEffectiveData.LightRig.LightType);
Console.WriteLine("Dirección: " + threeDEffectiveData.LightRig.Direction);
Console.WriteLine("= Propiedades del relieve de la cara superior de la forma =");
Console.WriteLine("Tipo: " + threeDEffectiveData.BevelTop.BevelType);
Console.WriteLine("Ancho: " + threeDEffectiveData.BevelTop.Width);
Console.WriteLine("Altura: " + threeDEffectiveData.BevelTop.Height);
}
Ver También
- interface IThreeDFormatEffectiveData
- class ThreeDFormat
- namespace Aspose.Slides
- assembly Aspose.Slides