Click here to Skip to main content
15,888,239 members
Home / Discussions / C#
   

C#

 
Questiondisabling a textbox at intialization in wpf/C# Pin
jhoga25-Apr-18 4:27
jhoga25-Apr-18 4:27 
AnswerRe: disabling a textbox at intialization in wpf/C# Pin
Richard MacCutchan25-Apr-18 5:04
mveRichard MacCutchan25-Apr-18 5:04 
GeneralRe: disabling a textbox at intialization in wpf/C# Pin
jhoga25-Apr-18 5:15
jhoga25-Apr-18 5:15 
GeneralRe: disabling a textbox at intialization in wpf/C# Pin
jhoga25-Apr-18 5:50
jhoga25-Apr-18 5:50 
QuestionHow to delete row(s) from a database view and two of the linked tables? Pin
Member 1378393524-Apr-18 21:58
Member 1378393524-Apr-18 21:58 
AnswerRe: How to delete row(s) from a database view and two of the linked tables? Pin
Richard Deeming25-Apr-18 1:31
mveRichard Deeming25-Apr-18 1:31 
AnswerRe: How to delete row(s) from a database view and two of the linked tables? Pin
Gerry Schmitz25-Apr-18 6:17
mveGerry Schmitz25-Apr-18 6:17 
Questionabsolute-text-location-multiline Pin
Member 1368201324-Apr-18 19:23
Member 1368201324-Apr-18 19:23 
I  need to locate a multiline text in a pdf document. I found two possibilitis

    ColumnText.ShowTextAligned(writer.DirectContent, Element.ALIGN_LEFT, new Phrase(textPhrase), calculatedX,calculatedY, -rotation);

But when I locate the text this way, I just can see the first line and all other lines get cutted.

    TextField tf = new TextField(writer,
                    new Rectangle(calculatedX, calculatedY, calculatedX + width, calculatedY + height), "");
    tf.Text = text;
    tf.FontSize = font.Size;
    tf.Font = font.BaseFont;
    tf.Options = BaseField.MULTILINE | BaseField.READ_ONLY;
    tf.TextColor = font.Color;
    writer.AddAnnotation(tf.GetTextField());

This works good and I can see all lines but the problem is that i can not set attributes like Bold underline....

Can you please help me to find a way, that I can see all lines and set attributes like bold, underline...

AnswerRe: absolute-text-location-multiline Pin
BillWoodruff24-Apr-18 22:28
professionalBillWoodruff24-Apr-18 22:28 
QuestionSubscribe to an event through COM GetEvent return null Pin
aymen Tn24-Apr-18 5:45
aymen Tn24-Apr-18 5:45 
AnswerRe: Subscribe to an event through COM GetEvent return null Pin
Gerry Schmitz24-Apr-18 7:34
mveGerry Schmitz24-Apr-18 7:34 
GeneralRe: Subscribe to an event through COM GetEvent return null Pin
aymen Tn24-Apr-18 22:05
aymen Tn24-Apr-18 22:05 
QuestionTransfer and synchronize sqlite db to android device Pin
Member 1053274823-Apr-18 11:14
Member 1053274823-Apr-18 11:14 
AnswerRe: Transfer and synchronize sqlite db to android device Pin
Maciej Los23-Apr-18 20:12
mveMaciej Los23-Apr-18 20:12 
QuestionHow to Get Values from XML in COMBO BOX Pin
Member 1377710422-Apr-18 17:10
Member 1377710422-Apr-18 17:10 
AnswerRe: How to Get Values from XML in COMBO BOX Pin
OriginalGriff22-Apr-18 20:01
mveOriginalGriff22-Apr-18 20:01 
GeneralRe: How to Get Values from XML in COMBO BOX Pin
Member 1377710422-Apr-18 22:14
Member 1377710422-Apr-18 22:14 
GeneralRe: How to Get Values from XML in COMBO BOX Pin
OriginalGriff22-Apr-18 22:27
mveOriginalGriff22-Apr-18 22:27 
GeneralRe: How to Get Values from XML in COMBO BOX Pin
Member 1377710422-Apr-18 22:39
Member 1377710422-Apr-18 22:39 
GeneralRe: How to Get Values from XML in COMBO BOX Pin
OriginalGriff22-Apr-18 22:49
mveOriginalGriff22-Apr-18 22:49 
GeneralRe: How to Get Values from XML in COMBO BOX Pin
Member 1377710422-Apr-18 23:00
Member 1377710422-Apr-18 23:00 
GeneralRe: How to Get Values from XML in COMBO BOX Pin
OriginalGriff22-Apr-18 23:25
mveOriginalGriff22-Apr-18 23:25 
GeneralRe: How to Get Values from XML in COMBO BOX Pin
Member 1377710422-Apr-18 23:40
Member 1377710422-Apr-18 23:40 
GeneralRe: How to Get Values from XML in COMBO BOX Pin
OriginalGriff22-Apr-18 23:43
mveOriginalGriff22-Apr-18 23:43 
GeneralRe: How to Get Values from XML in COMBO BOX Pin
Member 1377710422-Apr-18 23:57
Member 1377710422-Apr-18 23:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.