PDFViewCtrlSetRenderedContentCacheSize Method |
Sets the suggested memory size of rendered content.
PDFViewCtrl keeps invisible content in order to achieve smoother viewing experience; however, this increases memory usage.
Based on the memory footprint of your app, you may want to customize it.
Note that the built in controls (FlipView and ScrollView) will likely cache some content as well,
meaning that the PDFViewCtrl will use more memory than this number suggests.
Setting this size to 0 will cause only rendering of directly visible content.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void SetRenderedContentCacheSize(
ulong allowed_max
)
Public Sub SetRenderedContentCacheSize (
allowed_max As ULong
)
public:
virtual void SetRenderedContentCacheSize(
[InAttribute] unsigned long long allowed_max
) sealed
function SetRenderedContentCacheSize(allowed_max);
Parameters
- allowed_max
- Type: SystemUInt64
the allowed heap memory usage in MB
See Also