Foxit PDF SDK
foxit.addon.pdf3d.PDF3DLaunchSetting类 参考

继承自 SystemIDisposable .

Public 类型

enum  PDF3DActivationDisableSetting { PDF3DActivationDisableSetting.e_3DActivationDisableSettingContextMenuSelected = 0, PDF3DActivationDisableSetting.e_3DActivationDisableSettingPageClosed = 1, PDF3DActivationDisableSetting.e_3DActivationDisableSettingPageInvisible = 2 }
 3D停用条件枚举设置。 更多...
 
enum  PDF3DActivationEnableSetting { PDF3DActivationEnableSetting.e_3DActivationEnableSettingContentClicked = 0, PDF3DActivationEnableSetting.e_3DActivationEnableSettingPageOpened = 1, PDF3DActivationEnableSetting.e_3DActivationEnableSettingPageVisible = 2 }
 3D注释启动激活设置启用条件的枚举。 更多...
 
enum  PDF3DActivationPlaybackStyleSetting { PDF3DActivationPlaybackStyleSetting.e_3DActivationPlaybackStyleOnPage = 0, PDF3DActivationPlaybackStyleSetting.e_3DActivationPlaybackStyleInFloatingWindow = 1 }
 3D回放类型设置枚举。 更多...
 
enum  PDF3DAppearanceSettingBorderWidth { PDF3DAppearanceSettingBorderWidth.e_3DAppearanceSettingBorderWidthNone = 0, PDF3DAppearanceSettingBorderWidth.e_3DAppearanceSettingBorderWidthThin = 1, PDF3DAppearanceSettingBorderWidth.e_3DAppearanceSettingBorderWidthMedium = 2, PDF3DAppearanceSettingBorderWidth.e_3DAppearanceSettingBorderWidthThick = 3 }
 3D边框宽度类型枚举。 更多...
 
enum  PDF3DPosterImageSetting { PDF3DPosterImageSetting.e_3DPosterImageKeepCurrent = 0, PDF3DPosterImageSetting.e_3DPosterImageRetrieveFromDefaultView = 1, PDF3DPosterImageSetting.e_3DPosterImageCreateFromFile = 2 }
 3D启动类型对象枚举。 更多...
 

Public 成员函数

 PDF3DLaunchSetting ()
 构造函数。
 
 PDF3DLaunchSetting (PDF3DLaunchSetting launch_setting)
 带另一个3D启动设置对象的构造函数。 更多...
 
 PDF3DLaunchSetting (PDF3DLaunchSetting.PDF3DActivationEnableSetting activation_enable, PDF3DLaunchSetting.PDF3DActivationDisableSetting activation_disable, PDF3DLaunchSetting.PDF3DActivationPlaybackStyleSetting activation_playback, int window_width, int window_height, PDF3DLaunchSetting.PDF3DAppearanceSettingBorderWidth border_width, bool is_transparent_background, PDF3DLaunchSetting.PDF3DPosterImageSetting poster_image, string poster_file_path)
 带参数构造函数。 更多...
 
void Set (PDF3DLaunchSetting.PDF3DActivationEnableSetting activation_enable, PDF3DLaunchSetting.PDF3DActivationDisableSetting activation_disable, PDF3DLaunchSetting.PDF3DActivationPlaybackStyleSetting activation_playback, int window_width, int window_height, PDF3DLaunchSetting.PDF3DAppearanceSettingBorderWidth border_width, bool is_transparent_background, PDF3DLaunchSetting.PDF3DPosterImageSetting poster_image, string poster_file_path)
 设置值。 更多...
 

属性

PDF3DLaunchSetting.PDF3DActivationDisableSetting activation_disable [get, set]
 3D停用条件设置,请参考值从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DActivationDisableSetting.e_3DActivationDisableSettingContextMenuSelected , 它的值将是这些值中的一个。
 
PDF3DLaunchSetting.PDF3DActivationEnableSetting activation_enable [get, set]
 3D启用条件设置,请参考值从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DActivationEnableSetting.e_3DActivationEnableSettingContentClicked , 它的值将是这些值中的一个。
 
PDF3DLaunchSetting.PDF3DActivationPlaybackStyleSetting activation_playback [get, set]
 3D回放类型设置,请参考值从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DActivationPlaybackStyleSetting.e_3DActivationPlaybackStyleOnPage , 它的值将是这些值中的一个。
 
PDF3DLaunchSetting.PDF3DAppearanceSettingBorderWidth border_width [get, set]
 3D边框类型,请参考值从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DAppearanceSettingBorderWidth.e_3DAppearanceSettingBorderWidthNone , 它的值将是这些值中的一个。
 
bool is_transparent_background [get, set]
 3D内容背景是否透明, true 表示透明, while false 不透明。默认值为 false
 
string poster_file_path [get, set]
 海报图象文件路径。 这个值只有当poster_imagefoxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DPosterImageSetting.e_3DPosterImageCreateFromFile 时起作用。
 
PDF3DLaunchSetting.PDF3DPosterImageSetting poster_image [get, set]
 海报图象设置。请参考值从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DPosterImageSetting.e_3DPosterImageKeepCurrent , 它的值将是这些值中的一个。
 
int window_height [get, set]
 3D窗口高度设置,默认值为240。
 
int window_width [get, set]
 3D窗口宽度设置,默认值为320。
 

详细描述

This class represents 3D launch setting.

成员枚举类型说明

◆ PDF3DActivationDisableSetting

3D停用条件枚举设置。

此枚举的值应该单独使用。

枚举值
e_3DActivationDisableSettingContextMenuSelected 

已在右键菜单中选择了"停用内容"。

e_3DActivationDisableSettingPageClosed 

包含内容的页面被关闭时。

e_3DActivationDisableSettingPageInvisible 

包含内容的页面不可见时。

◆ PDF3DActivationEnableSetting

3D注释启动激活设置启用条件的枚举。

此枚举的值应该单独使用。

枚举值
e_3DActivationEnableSettingContentClicked 

当内容被点击时启用。

e_3DActivationEnableSettingPageOpened 

当包含内容的页面被打开时启用。

e_3DActivationEnableSettingPageVisible 

当包含内容的页面可见时启用。

◆ PDF3DActivationPlaybackStyleSetting

3D回放类型设置枚举。

此枚举的值应该单独使用。

枚举值
e_3DActivationPlaybackStyleOnPage 

在页面上播放内容。

e_3DActivationPlaybackStyleInFloatingWindow 

在浮动窗口中播放内容。

◆ PDF3DAppearanceSettingBorderWidth

3D边框宽度类型枚举。

此枚举的值应该单独使用。

枚举值
e_3DAppearanceSettingBorderWidthNone 

无边框。

e_3DAppearanceSettingBorderWidthThin 

细。

e_3DAppearanceSettingBorderWidthMedium 

中。

e_3DAppearanceSettingBorderWidthThick 

粗。

◆ PDF3DPosterImageSetting

3D启动类型对象枚举。

此枚举的值应该单独使用。

枚举值
e_3DPosterImageKeepCurrent 

保持当前海报。

e_3DPosterImageRetrieveFromDefaultView 

从默认视图中返回。

e_3DPosterImageCreateFromFile 

从文件创建海报。

构造及析构函数说明

◆ PDF3DLaunchSetting() [1/2]

foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DLaunchSetting ( PDF3DLaunchSetting  launch_setting)
inline

带另一个3D启动设置对象的构造函数。

参数
[in]launch_setting另一个3D启动设置对象。

◆ PDF3DLaunchSetting() [2/2]

foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DLaunchSetting ( PDF3DLaunchSetting.PDF3DActivationEnableSetting  activation_enable,
PDF3DLaunchSetting.PDF3DActivationDisableSetting  activation_disable,
PDF3DLaunchSetting.PDF3DActivationPlaybackStyleSetting  activation_playback,
int  window_width,
int  window_height,
PDF3DLaunchSetting.PDF3DAppearanceSettingBorderWidth  border_width,
bool  is_transparent_background,
PDF3DLaunchSetting.PDF3DPosterImageSetting  poster_image,
string  poster_file_path 
)
inline

带参数构造函数。

参数
[in]activation_enable3D启用条件设置。 请参考从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DActivationEnableSetting.e_3DActivationEnableSettingContentClicked , 它的值将是这些值中的一个。
[in]activation_disable3D停用条件设置。 请参考从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DActivationDisableSetting.e_3DActivationDisableSettingContextMenuSelected , 它的值将是这些值中的一个。
[in]activation_playback3D回放类型设置。 请参考从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DActivationPlaybackStyleSetting.e_3DActivationPlaybackStyleOnPage , 它的值将是这些值中的一个。
[in]window_width3D窗口宽度设置,默认值为320。
[in]window_height3D窗口高度设置,默认值为240。
[in]border_width3D边框宽度设置。 请参考从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DAppearanceSettingBorderWidth.e_3DAppearanceSettingBorderWidthNone , 它的值将是这些值中的一个。
[in]is_transparent_background背景是否透明。
[in]poster_image海报图象设置。 请参考从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DPosterImageSetting.e_3DPosterImageKeepCurrent , 它的值将是这些值中的一个。
[in]poster_file_path海报图象路径。

成员函数说明

◆ Set()

void foxit.addon.pdf3d.PDF3DLaunchSetting.Set ( PDF3DLaunchSetting.PDF3DActivationEnableSetting  activation_enable,
PDF3DLaunchSetting.PDF3DActivationDisableSetting  activation_disable,
PDF3DLaunchSetting.PDF3DActivationPlaybackStyleSetting  activation_playback,
int  window_width,
int  window_height,
PDF3DLaunchSetting.PDF3DAppearanceSettingBorderWidth  border_width,
bool  is_transparent_background,
PDF3DLaunchSetting.PDF3DPosterImageSetting  poster_image,
string  poster_file_path 
)
inline

设置值。

参数
[in]activation_enable3D启用条件设置。 请参考从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DActivationEnableSetting.e_3DActivationEnableSettingContentClicked , 它的值将是这些值中的一个。
[in]activation_disable3D停用条件设置。 请参考从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DActivationDisableSetting.e_3DActivationDisableSettingContextMenuSelected , 它的值将是这些值中的一个。
[in]activation_playback3D回放类型设置。 请参考从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DActivationPlaybackStyleSetting.e_3DActivationPlaybackStyleOnPage , 它的值将是这些值中的一个。
[in]window_width3D窗口宽度设置,默认值为320。
[in]window_height3D窗口高度设置,默认值为240。
[in]border_width3D边框宽度设置。 请参考从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DAppearanceSettingBorderWidth.e_3DAppearanceSettingBorderWidthNone , 它的值将是这些值中的一个。
[in]is_transparent_background背景是否透明。
[in]poster_image海报图象设置。 请参考从 foxit.addon.pdf3d.PDF3DLaunchSetting.PDF3DPosterImageSetting.e_3DPosterImageKeepCurrent , 它的值将是这些值中的一个。
[in]poster_file_path海报图象路径。
返回
无。