Hi Stackers! My question today is dealing with a dynamically generated button with a textField.
I have the button copy in XML and I need to add a buffer of 10 pixels to either side of the textField. I tried to CENTER my textFormat, but then I could not see my text because the button is for some strange reason 545.45 instead of 88 like i...
What would be the simplest, shortest way to turn a text file into a PDF file with PHP? With some basic example code if possible.
I've seen this but the examples don't show how to use a text file as input.
http://uk3.php.net/manual/en/book.pdf.php
Thanks
...
I'm building an application with Silverlight 3.0 and I need a Text control that can provide the following features:
Copy and paste
Formating (either bold or color)
Scrollable progamatically (either natively or through a ScrollViewer)
Any ideas?
...
I'm trying to make a captcha system that isn't the same as all the others using ASCII art text. Similar to what can be found here.
Does anyone know of a library which can generate something similar?
...
I created a font object and selected it into the device content, then calculate the extent of the string using WIN32 API GetTextExtentExPoint, but the extent i got is the extent while using system default font.
For example, when i using system default font, the extent of the string is 36 pixel width and 16 pixel height, and 72 pixel widt...
Hi
I have got an image file which has 3 colors as background. I have also got a text file . I need to write a Perl script which copies text file on to the specific background color of the image file.
When I execute my Perl script , the script should ask the path for image file and then the path for text file.
...
Hello everyone,
From a string that contains a lot of HTMl, how can I extract all the text from <h1><h2>etc tags into a new variable.
Possibly using preg_match_all and sending the matches to a single comma delimited variable.
Thanks guys.
...
In my C++ program, I want to be able to add some text over an image. I can already load/save the image, I just need to add text to it.
I want to be able to use different fonts, colors, italics, bold, solid/transparent background, have a border around the letters, etc.
I've done this in the past by using the old MFC functions to genera...
Can anyone guide how to generate image from input text. Image might have any extension doesn't matter.
...
Hi guys!
As posted throughout the web, the only way to display html content inside UITextView is by using a private API function setContentAsHTML, and if you use this function you won't get your application on AppStore. But there are several word editors which seem to be using UITextView or maybe a custom one made by themselves in their...
I wrote the following method to remove the namespace in brackets from strings.
I would like to make this as fast as possible.
Is there a way to speed up the following code?
using System;
namespace TestRemoveFast
{
class Program
{
static void Main(string[] args)
{
string[] tests = {
"{ht...
How can i rotate an image with some associated text in jquery?
...
I'm writing a text entry app that sits in the System Tray and assists in text entry via keyboard hooks. The current character the user types is determined by previous letters.
So if you have "I want to ben|" where "|" represents the caret, when the user hits the keyboard the next letter is determined by doing calculation on the previous...
I was wondering if there is a built-in font for Japanese kana in the iPhone OS?
I was wanting to display kana characters and figured it would be easier to generate them in a UILabel as text versus creating a .PNG and display them in a UIImageView. I would want this to be available to non-Japanese iPhones/iPods. I'm not 100% aware if...
It is strange Asp.net Text box with multi line attribute does not support max lenth property.
we need to manage it by writing customized java script Code.
...
I am working on a simple text markup Java Library which should be, amongst other requirements, fast.
For that purpose, I did some profiling, but the results give me worse numbers that are then measured when running in non-profile mode.
So my question is - how much reliable is the profiling? Does that give just an informational ratio of...
I'm crafting this "what you are listening to" - plugin for learning purposes that displays the current Spotify or Winamp song as a message in an IM client.
So far it's really simple, I'm merely getting the song played from the title like so
Process.GetProcessesByName("spotify");
and then just pick out the song part ("Spotify - < song...
This is a continuation of the question below.
Basically I discovered its no problem at all to draw lines or shapes or whatever directly onto an mx:Text object using its graphics property (Text.graphics.lineTo, etc.). If just displaying that text, then any such drawn lines are displayed as well. However, if that Text object is used a...
Reading this question a doubt poped into my head:
char and varchar can store up to 255 chars
text can store up to 65k chars
char size in bytes is number of chars
varchar size in bytes is number of chars used + 1
So how much bytes does TEXT actually occupies? ~65kb or number of chars used + 1?
...
I have implemented code for uploading images and directory to FTP using iPhone.
But I need to upload text file on FTP using iPhone. Can you please send me code for that.
...