Minor position correction for DRAFT watermark

This commit is contained in:
2025-03-10 21:59:10 +01:00
parent 64598f1e8f
commit 631acab21c
+3 -3
View File
@@ -64,8 +64,8 @@ export const DraftButtons: React.FC = () => {
const textBox = master.shapes.addTextBox("");
// textBox.left = 0; // Center it horizontally
textBox.left = -275
textBox.top = -5;
textBox.left = -329
textBox.top = 32;
// textBox.width = 960;
textBox.width = 2400;
textBox.height = 540;
@@ -94,7 +94,7 @@ export const DraftButtons: React.FC = () => {
// Set font properties exactly as in the VBA code
textBox.textFrame.textRange.font.name = "Inter";
// 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.verticalAlignment = "MiddleCentered"