Minor position correction for DRAFT watermark
This commit is contained in:
@@ -64,8 +64,8 @@ export const DraftButtons: React.FC = () => {
|
|||||||
const textBox = master.shapes.addTextBox("");
|
const textBox = master.shapes.addTextBox("");
|
||||||
|
|
||||||
// textBox.left = 0; // Center it horizontally
|
// textBox.left = 0; // Center it horizontally
|
||||||
textBox.left = -275
|
textBox.left = -329
|
||||||
textBox.top = -5;
|
textBox.top = 32;
|
||||||
// textBox.width = 960;
|
// textBox.width = 960;
|
||||||
textBox.width = 2400;
|
textBox.width = 2400;
|
||||||
textBox.height = 540;
|
textBox.height = 540;
|
||||||
@@ -94,7 +94,7 @@ export const DraftButtons: React.FC = () => {
|
|||||||
// Set font properties exactly as in the VBA code
|
// Set font properties exactly as in the VBA code
|
||||||
textBox.textFrame.textRange.font.name = "Inter";
|
textBox.textFrame.textRange.font.name = "Inter";
|
||||||
// textBox.textFrame.textRange.font.size = 256;
|
// textBox.textFrame.textRange.font.size = 256;
|
||||||
textBox.textFrame.textRange.font.size = 64;
|
textBox.textFrame.textRange.font.size = 54;
|
||||||
textBox.textFrame.textRange.font.bold = true;
|
textBox.textFrame.textRange.font.bold = true;
|
||||||
textBox.textFrame.verticalAlignment = "MiddleCentered"
|
textBox.textFrame.verticalAlignment = "MiddleCentered"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user