Since the code I gave you uses the Height of the object, you need to set the height before executing that line.
this.Height = 22; //this done first
this.Width = Screen.PrimaryScreen.Bounds.Width; //moved here to keep height and width in the same code locations
this.Location = new Point(0, Screen.PrimaryScreen.WorkingArea.Height - this.Height);
I use tx textcontrol to transform a word document in pdf.
but if my document is to big I can't see the all pdf,I can see only a part of it.
Because of this I use textcontrol function: LoadSaveAttribute where I need the width,Height,LeftMargin of the document.