aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-04-21 00:03:52 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-04-21 00:03:52 -0400
commitb63bcb791013766d5d16e4f38964499268f904c4 (patch)
treee61a69b2e3c2f7997d2a2fd3624182a4edf84818 /src/client/documents
parent5a4be44ac6b9fdc10a5464623a02891bc2cc4444 (diff)
fixed a bunch of issues related to moving documents with different zoom bases.
Diffstat (limited to 'src/client/documents')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index b0bb74d89..0e6661819 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -54,6 +54,7 @@ export interface DocumentOptions {
viewType?: number;
backgroundColor?: string;
copyDraggedItems?: boolean;
+ documentText?: string;
}
export namespace Documents {
@@ -97,6 +98,7 @@ export namespace Documents {
if (options.nativeHeight !== undefined) { doc.SetNumber(KeyStore.NativeHeight, options.nativeHeight); }
if (options.title !== undefined) { doc.SetText(KeyStore.Title, options.title); }
if (options.page !== undefined) { doc.SetNumber(KeyStore.Page, options.page); }
+ if (options.documentText !== undefined) { doc.SetText(KeyStore.DocumentText, options.documentText); }
if (options.scale !== undefined) { doc.SetNumber(KeyStore.Scale, options.scale); }
if (options.width !== undefined) { doc.SetNumber(KeyStore.Width, options.width); }
if (options.height !== undefined) { doc.SetNumber(KeyStore.Height, options.height); }