ThreeDFormat

ThreeDFormat — Aspose.Slides FOSS for .NET API Reference

SaveOptions ThreeDFormat クラスは、ベベル、押し出し深さ、輪郭、カメラ位置、照明、マテリアルなど、形状の3-Dビジュアルエフェクトを制御します。以下からアクセスできます Shape.ThreeDFormat.

SaveOptions: Aspose.Slides.Foss (net9.0)

using Aspose.Slides.Foss;
public class ThreeDFormat : PVIObject, IThreeDFormat

SaveOptions

PVIObjectThreeDFormat


SaveOptions

SaveOptionsSaveOptionsSaveOptionsSaveOptions
BevelTopIShapeBevelSaveOptions上面ベベル設定。.
BevelBottomIShapeBevelSaveOptions下面ベベル設定。.
ExtrusionHeightfloatSaveOptions押し出し深さ。.
ExtrusionColorIColorFormatSaveOptions押し出し色。.
ContourWidthfloatSaveOptions輪郭幅。.
ContourColorIColorFormatSaveOptions輪郭色。.
DepthfloatSaveOptions3-D depth value.
CameraICameraSaveOptionsカメラ設定。.
LightRigILightRigSaveOptions照明リグ設定。.
MaterialMaterialPresetTypeSaveOptions表面マテリアルプリセット。.

関連クラス

ShapeBevel

public class ShapeBevel : PVIObject, IShapeBevel
SaveOptionsSaveOptionsSaveOptionsSaveOptions
BevelTypeBevelPresetTypeSaveOptionsベベルプリセットタイプ。.
WidthfloatSaveOptionsベベル幅。.
HeightfloatSaveOptionsベベル高さ。.

SaveOptions

public class Camera : PVIObject, ICamera
SaveOptionsSaveOptionsSaveOptionsSaveOptions
CameraTypeCameraPresetTypeSaveOptionsカメラプリセットタイプ。.
FieldOfViewAnglefloatSaveOptions視野角。.
ZoomfloatSaveOptionsズームレベル。.
SaveOptionsSaveOptions
SetRotation(float latitude, float longitude, float revolution)カメラの回転角度を設定。.
GetRotation()現在の回転角度を取得。.

LightRig

public class LightRig : PVIObject, ILightRig
SaveOptionsSaveOptionsSaveOptionsSaveOptions
DirectionLightingDirectionSaveOptions光の方向。.
LightTypeLightRigPresetTypeSaveOptionsライトリグプリセット。.
SaveOptionsSaveOptions
SetRotation(float latitude, float longitude, float revolution)ライトの回転を設定。.
GetRotation()現在の回転を取得.

使用例

3-D フォーマットの読み取り

using Aspose.Slides.Foss;

using var prs = new Presentation("deck.pptx");
var shape = prs.Slides[0].Shapes[0];
var td = shape.ThreeDFormat;

Console.WriteLine($"Extrusion height: {td.ExtrusionHeight}");
Console.WriteLine($"Material: {td.Material}");
Console.WriteLine($"Camera: {td.Camera.CameraType}");
Console.WriteLine($"Bevel top type: {td.BevelTop.BevelType}");

参照

 日本語