Short, Simple and Utterly Pointless
-
Discovered this gem in our code base (C#, but I guess that won't make much difference)...
if (transparent) pdfDoc.HtmlOptions.HideBackground = true; pdfDoc.HtmlOptions.HideBackground = true;
:wtf: Rob
-
Discovered this gem in our code base (C#, but I guess that won't make much difference)...
if (transparent) pdfDoc.HtmlOptions.HideBackground = true; pdfDoc.HtmlOptions.HideBackground = true;
:wtf: Rob
Well, if opaque then it's true, on the other hand, if transparent then it's so true. :-D
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke -
Discovered this gem in our code base (C#, but I guess that won't make much difference)...
if (transparent) pdfDoc.HtmlOptions.HideBackground = true; pdfDoc.HtmlOptions.HideBackground = true;
:wtf: Rob
I remember having to do something like that; repainting a dynamic form I think. It was easier to do the repaint twice based on a simple condition then to code a nasty, recursive, snaking, 683 if level method. But I put a comment in to explain why.
Panic, Chaos, Destruction. My work here is done.
-
I remember having to do something like that; repainting a dynamic form I think. It was easier to do the repaint twice based on a simple condition then to code a nasty, recursive, snaking, 683 if level method. But I put a comment in to explain why.
Panic, Chaos, Destruction. My work here is done.
No, nothing like that. Fortunately, we have a great Refactoring policy here that allowed me to simply fix the code. All is working fine, so I guess it was... well actually I've no idea. ;)
-
Discovered this gem in our code base (C#, but I guess that won't make much difference)...
if (transparent) pdfDoc.HtmlOptions.HideBackground = true; pdfDoc.HtmlOptions.HideBackground = true;
:wtf: Rob
re-wording a famous Shakespare quote: To hide, or not to hide... :D
Mark Brock Click here to view my blog
-
re-wording a famous Shakespare quote: To hide, or not to hide... :D
Mark Brock Click here to view my blog
:laugh: :laugh: :laugh:
Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson