|
You know the co-ordinate of the text in the image file? then maybe you could try drawing a white box or something over the text on the image, then convert it to pdf.
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Hi,
thanks for your reply..
actually i am using itextsharp.
i am able draw text in specified position by using coordinate but i want to hide that text means the text is show in invisible mode.
when we select the pdf text and copy to text or word he shows there..!!
so if there is any example to how to do this would be great help for me.
Thanks,
Raj
|
|
|
|
|
Hi,
I am trying to pass a datatable as a parameter to a stored procedure. my sql server is 2008.
Also my database transactions happens with the class from enterprise library January 2006.
Following is my code:
DataTable dt = new DataTable();
DataColumn dcol = new DataColumn("Col1", typeof(int));
dt.Columns.Add(dcol);
DataRow dr;
dr = dt.NewRow();
dr["Col1"] = 1;
dt.Rows.Add(dr);
SqlParameter parameter = new SqlParameter("@MenuRights", SqlDbType.Structured);
parameter.Value = dt;
DataTable dtbl = ExecuteDatabaseQuery.Reference.ExecuteQuery_DataTable(ConAdmin, "teststorepro", "teststorepro",
ProjectConstants.QueryType.StoredProc, null, true, null,
parameter);
When the sqlcommand is made and passed for executing, it throws an error
"Failed to convert parameter value to IEnumerable".
Following is the code from enterprise library:
Database db = (Database)CreateConnection(ConnectionName);
if (WriteInfoInLogFile == true && WriteToLogs == true)
{
CLogger.Reference.sLogInfo(ConnectionName, OptionName, oQuery, TypeOfQuery, CLogger.EStatus.StartProcess, LogMsg, CLogger.MsgType.Information, SQLParams);
}
DbCommand cmd = (DbCommand)CreateCommand(db, oQuery, TypeOfQuery, cmdTimeOutMin, SQLParams);
DataSet dstStorePro = db.ExecuteDataSet(cmd);
if (dstStorePro.Tables.Count > 0)
{
int TableCount = dstStorePro.Tables.Count;
for (int i = 0; i < TableCount; i++)
{
DataTable dtbl = dstStorePro.Tables[i];
Boolean HasMsg = GetStoreProMessage.GetMessage(dtbl);
if (HasMsg == false)
{
dt = dtbl;
}
}
}
when the command is passed to db.ExecuteDataSet(cmd); , it throws the above error.
Sandeep Kumbhar
|
|
|
|
|
any solution
thanks
Sandeep Kumbhar
modified on Wednesday, September 16, 2009 12:00 AM
|
|
|
|
|
Hi,
i am developing windows desktop application using c#.net
in my application how can i use google api for searching google ad-sense
please describe me the approach for this
Thanks
Anil Veeraghattapu.
|
|
|
|
|
Anil709 wrote: please describe me the approach for this
Open up your web browser. Go to this[^] page. Read the documentation. Write the code.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
are you sure it is relevant to me question
i want to use the google api in my windows application that is developed using c#.net
so please tell me what kind of webservice i have to use
Thanks
Anil Veeraghattapu.
|
|
|
|
|
how do you check if your, for example datagridview control or any control
is inside a panel or not? using winforms
any help is highly appreciated
Life - Dreams = Job
TheCardinal
BenPOS Systems
|
|
|
|
|
YourControl.Parent property will tell that.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
Honestly, one day in this forum, I'm not gonna get beaten to the punch.
It's like tenth time in a row that's happened.
;>
var question = (_2b || !(_2b));
|
|
|
|
|
Cannot understand it.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
You answered two minutes before me, therefore "beat me to the punch".
And it seems like that has happened like 10 times to me already ;> "Someone beat me to the punch."
var question = (_2b || !(_2b));
|
|
|
|
|
Oh...
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
yourControl.Parent.GetType();
gives you the type of your Parent control, if you are interested in that.
Without the .GetType() you'll get the control itself. Check if it's a panel like this:
if(yourControl.Parent is Panel)
{
MessageBox.Show("Hooray");
}
var question = (_2b || !(_2b));
|
|
|
|
|
thanks guys cheers
Life - Dreams = Job
TheCardinal
BenPOS Systems
|
|
|
|
|
I created an application to communicate to a device in Wince...
i m able to open my serial com port using my application.. but when i write some thing to the port .... its hanging ....is there any components or sme thing which is required to add when i create OS image ....
pls help me to get out of this mess....
|
|
|
|
|
how to restrict the user from entering numbers or any special char.... and pls also send me list or ascii key
|
|
|
|
|
You will need to handle either key down, key up or key press events. Make sure to check for modifier keys. You will also need to handle pasting too.
There's an example here[^] that only allows numerics. You can easily use this to work out what you need to do for your situation.
|
|
|
|
|
Hi,
I am working on an application in which I need to implement Google search for the string given in a textbox. For this I have to call Google API in my application.
If any one have any idea to call Google API using c# please reply me.
Thanks in advance.
|
|
|
|
|
|
If you type something like "Try this", then highlight it before you paste the link, the link text becomes "Try this" rather than the web address - looks prettier, and hides the LMGTFY part from being too obvious!
as in : Try this[^]
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
If he can't be bothered even googling it himself, why should I be bothered typing any extra unnecessary characters?
(You could also tinyurl-ify it if you really wanted to hide what the link was)
|
|
|
|
|
why are you thinking like we have posted forum by with out searching in Google.
we have already searched and find no relevant result.
if you are not certain with the solution then stop posting reply
we know searching in Google.
|
|
|
|
|
Anil709 wrote: why are you thinking like we have posted forum by with out searching in Google.
Then you need to revise your searching technique.
It has taken me less than a minute to find this[^], only one amongst thousands of hits.
That page may not be exactly what you are looking for, but by exploring the links from it I am sure that you will find what you need, if you have the perseverance.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
I recall it works at times but not always. Perhaps it works in IE but not FF?
Cheers,
Vikram. (Cracked not one CCC, but two!)
|
|
|
|